list_agents / list_workflows. Requires Viewer or higher in the applicable workspace and a connected OAuth session.
Available under both list_agents and list_workflows, with the same arguments and result. Returns all matching agent IDs, names, lifecycle states, creation times, and assistant modes, including agents with no calls. An empty result is valid.
Use a returned id as workflow_id. The optional lifecycle filter accepts draft, active, paused, or archived. The returned assistant mode distinguishes a single-prompt agent from a workflow canvas.
Arguments
Example arguments
Replace sample resource IDs with IDs returned in your selected workspace.Result and errors
The schema below describes MCPstructuredContent, including the result wrapper where present. Your client may also display a text representation. Read success flags and structured errors before continuing; transport success alone does not prove the operation succeeded. Authentication, missing membership, and insufficient role can fail before a tool result is produced. See troubleshooting.
Effect: Reads data. Retry: Declared idempotent. Discovery annotations describe behavior; they do not grant permission or replace confirmation for consequential actions.
Input schema
Input schema
Result schema
Result schema