Bounded context packet for a task
docguard_task_contextReturns a deterministic, task-linked packet for an agent task: requirements, code/test pointers, excerpts, and verification steps; abstains when relevance is weak.
Instructions
The same deterministic packet as docguard agent --task <text> --format json: current task-linked requirements, pointers to implementing code and tests, excerpts, and verification steps; abstains when relevance is weak.
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": {
"task": "<task>"
},
"name": "docguard_task_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | What the agent is about to do | |
| projectDir | No | Project to inspect: a directory inside the directories this server serves (absolute, or relative to the served directory). Defaults to the served directory. |