List agent task sessions
pc_get_agents_by_id_task_sessionsList task sessions for an agent by providing the agent ID.
Instructions
List agent task sessions
Paperclip operation: GET /api/agents/{id}/task-sessions. Authorization class: board_or_agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "pc_get_agents_by_id_task_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |