zooqueen and Hanzo Dev
a9e1b6bb16
fix(tools-iam): the MCP IAM tool listed users over a verb being deleted
...
_users() called /v1/iam/get-users and then did
users = data if isinstance(data, list) else []
The verb answered a bare JSON list. The native /v1/iam/users answers
{"users": [...]}. So swapping only the path would have left that isinstance check
False and reported ZERO users for a healthy org — an empty result, not an error,
surfaced through an MCP tool an agent then reasons over. Both halves change here.
The dict branch also accepts "data" so a server still on the legacy envelope
keeps working during rollout; it goes when the compat surface does.
Co-authored-by: Hanzo Dev <[email protected] >
2026-07-28 15:41:54 -07:00
..
2026-07-26 14:51:42 -07:00
2026-03-01 16:01:16 -08:00
2026-03-01 16:01:16 -08:00
2026-03-01 16:01:16 -08:00
2026-03-09 21:11:54 -07:00
2026-07-27 18:55:24 -07:00
2026-03-01 16:01:16 -08:00
2026-04-01 13:36:10 -07:00
2026-07-19 20:02:48 -07:00
2026-03-25 04:02:13 -07:00
2026-04-01 10:41:46 -07:00
2026-07-28 15:41:22 -07:00
2026-07-26 08:29:59 -07:00
2026-04-01 10:41:46 -07:00
2026-07-27 21:08:44 -07:00
2026-06-16 16:09:23 -07:00
2026-03-07 00:01:43 -08:00
2026-03-01 16:01:16 -08:00
2026-07-22 22:11:38 -07:00
2026-06-24 13:50:24 -07:00
2026-04-01 10:41:46 -07:00
2026-03-19 10:29:31 -07:00
2026-07-27 20:25:54 -07:00
2026-05-13 14:23:35 -07:00
2026-07-27 20:44:05 -07:00
2026-07-27 18:55:24 -07:00
2026-07-03 12:31:09 -07:00
2026-07-08 08:50:48 -07:00
2026-07-19 20:02:48 -07:00
2026-03-04 12:15:14 -08:00
2026-06-17 22:06:55 +00:00
2026-06-26 11:57:48 -07:00
2026-07-03 00:45:49 -07:00
2026-03-01 16:01:16 -08:00
2026-03-01 16:01:16 -08:00
2026-07-03 00:45:49 -07:00
2026-06-17 21:53:05 +00:00
2026-07-28 15:41:54 -07:00
2026-03-01 16:01:16 -08:00
2026-03-04 12:15:14 -08:00
2026-03-01 16:01:16 -08:00
2026-07-26 08:29:59 -07:00
2026-06-26 11:57:48 -07:00
2026-03-01 16:01:16 -08:00
2026-06-26 11:57:48 -07:00
2026-03-12 01:12:30 -07:00
2026-03-04 12:15:14 -08:00
2026-07-19 20:02:48 -07:00
2026-05-14 20:56:32 -07:00
2026-06-26 11:57:48 -07:00
2026-03-10 21:57:50 -07:00
2026-03-01 16:01:16 -08:00
2026-03-01 16:01:16 -08:00
2026-06-24 13:50:24 -07:00
2026-05-13 14:23:35 -07:00
2026-07-27 18:55:24 -07:00
2026-03-09 17:49:54 -07:00
2026-03-10 21:57:50 -07:00
2026-06-30 17:06:30 -07:00
2026-06-26 11:57:48 -07:00
2026-07-27 20:44:05 -07:00
2026-07-15 18:16:32 -07:00
2026-03-01 16:01:16 -08:00
2026-06-21 01:29:06 -07:00
2026-07-28 10:50:10 -07:00