recall tool
Tool: recall
Take back only what you need: the budgeted slice of a stashed blob (by handle), or matching remembered facts, instead of re-reading the whole thing. This is the read side of the stash/recall loop.
Arguments Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| repo_path | string | Required | Absolute path to the workspace root. |
| query | string | Required | What to look for within the source. |
| source | string | Optional | A stash handle to read from, or "facts" for remembered facts. Omit to search both. |
| budget | string | Optional | Token budget for the returned slice (small, medium, large). |
Tool Input JSONRequest
{
"repo_path": "/path/to/repo",
"source": "a1b2c3d4e5f6",
"query": "error",
"budget": "small"
}Tool Response JSONResponse
internal/build/step.go:142: error: undefined symbol "Foo" ... +3 more matching lines (narrow the query or raise budget)
Developer Best Practices
- Pair with stash_context: stash the monster, then recall only the lines that match your query.
- Narrow the query or raise the budget if the result is truncated.