context_for_task
Builds execution context for a task using typed relationships and candidate retrieval, filtering invalid lifecycle items, and preserving provenance for each source. Gives reliable, auditable task context.
Instructions
Read-only. Builds execution context for a task. Typed relationships come first, retrieval adds candidates, invalid lifecycle items are excluded, and every included item carries provenance.
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": {
"projectId": "<projectId>",
"taskId": "<taskId>"
},
"name": "context_for_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| taskId | Yes | ||
| projectId | Yes |