ask_memory
Recall everything local memory knows about a task—policy, curated memory, and supporting evidence—in priority order with citations. An empty result means memory has nothing relevant.
Instructions
READ-ONLY: recall one bounded bundle of everything local memory knows about a task, combining mandatory policy, curated memory, and supporting harvested agent evidence in priority order. This is the default recall tool and the right first call when you do not already know which store holds the answer; search_memory and search_evidence each cover only one store. Local and free by default. Returns an empty bundle rather than an error when nothing relevant exists, so an empty result means the memory is genuinely silent. Parameters: task is the natural-language task or question to recall for; answer defaults to false and returns the raw bundle, and setting it true spends a configured provider call, which may leave the machine, to produce a grounded cited answer; mode sets that answer's verbosity to concise, normal, or thorough and is ignored when answer is false; token_budget bounds the bundle size in approximate tokens (default 4000); limit caps how many supporting evidence items are considered (default 12); include_history adds superseded evidence; agent is the requesting agent identifier recorded for attribution (default mcp-client); project_path project root whose memory tree the operation applies to. Omit it to use the machine-wide tree, and always omit it when this server was started pinned to a project. Returns an object with the mandatory policy, curated memory, and evidence sections, each carrying source citations, plus the generated answer when answer is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Answer verbosity when answer is true. Ignored when answer is false. Defaults to normal. | normal |
| task | Yes | Natural-language task or question to recall relevant policy, memory, and evidence for. | |
| agent | No | Target agent identifier used to shape and attribute the result. Defaults are tool-specific. | mcp-client |
| limit | No | Maximum number of matching results to return. Defaults are tool-specific. | |
| answer | No | When true, spend a configured provider call to generate a grounded cited answer from the recalled memory instead of returning the bundle alone. | |
| project_path | No | Project root whose memory tree the operation applies to. Omit it to use the machine-wide tree, and always omit it when this server was started pinned to a project. | |
| token_budget | No | Approximate maximum token size of the returned bundle. Omit to use the tool default. | |
| include_history | No | When true, include historical or superseded memory evidence in addition to active evidence. |