Agents / MCP

List recent agent runs

Paginated activity log of recent agent wake-ups in the workspace. Each row is one agent run with status, tool-call count, tokens used, and cost. Filter by agentRole. Read-only.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
See the input schema for this field.
agentRoleOptional · string
See the input schema for this field.scout · researcher · writer · closer · coach
limitOptional · number
Max rows (1-100, default 20).
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list-recent-agent-runs",
    "arguments": {}
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "agentRole": {
      "type": "string",
      "enum": [
        "scout",
        "researcher",
        "writer",
        "closer",
        "coach"
      ]
    },
    "limit": {
      "type": "number",
      "description": "Max rows (1-100, default 20)."
    }
  }
}
See this operation inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview