Context
Flagged by Codex audit. get_agents_route and get_tools_route both support a richer filter set than the CLI exposes.
Missing filters
agents list: search, archived, show_only_owned_agents, created_by_user_id, sort_by, sort_direction, cursor.
agents tools list: search, types (repeatable: system/client/webhook/mcp), show_only_owned_documents, created_by_user_id, sort_by, sort_direction, cursor.
Use case
Large workspaces need filtered views; agents triaging their own agents need show_only_owned_agents; automations need cursor pagination.
Files
src/cli.rs (AgentsAction::List, AgentsToolsAction::List)
src/commands/agents/list.rs, src/commands/agents/tools/list.rs
src/commands/agent_info.rs
Acceptance
- Every filter translates to the matching query param.
- Integration tests assert at least
search, sort_by, cursor wire correctly.
Context
Flagged by Codex audit.
get_agents_routeandget_tools_routeboth support a richer filter set than the CLI exposes.Missing filters
agents list:search,archived,show_only_owned_agents,created_by_user_id,sort_by,sort_direction,cursor.agents tools list:search,types(repeatable: system/client/webhook/mcp),show_only_owned_documents,created_by_user_id,sort_by,sort_direction,cursor.Use case
Large workspaces need filtered views; agents triaging their own agents need
show_only_owned_agents; automations needcursorpagination.Files
src/cli.rs(AgentsAction::List, AgentsToolsAction::List)src/commands/agents/list.rs,src/commands/agents/tools/list.rssrc/commands/agent_info.rsAcceptance
search,sort_by,cursorwire correctly.