get_tasks
Retrieve tasks from session memory with optional filters for state, agent, workflow, and a limit to control results, enabling targeted task lookup.
Instructions
Retrieve tasks with optional filtering
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tasks to return (default: 100) | |
| state | No | Filter by task state (queued, in_progress, done, failed, blocked) | |
| agent_id | No | Filter by agent ID (optional) | |
| workflow_id | No | Filter by workflow ID (optional) |