get_tasks
Fetch up to 50 tasks by ID at once, automatically splitting into parallel requests for larger sets. Optionally include related records with embeds.
Instructions
Batch-fetch up to 50 tasks by ID. For 1–10 ids this is a single Capsule round trip; for 11–50 ids the connector transparently splits into 10-id chunks and fans out parallel Capsule requests, so the caller sees a single tool call with all results merged.
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": {
"ids": "<ids>"
},
"name": "get_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of task IDs (1–50). Capsule's native batch-fetch endpoint caps at 10 per request; the connector transparently splits larger sets into 10-id chunks and fans out the Capsule calls in parallel. | |
| embed | No | Comma-separated embeds. Valid tokens: party, opportunity, project, owner, nextTask. |