AI agents call memory_recall to retrieve information from Zhiyi without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
task | string | Yes | 当前任务描述 |
limit | number | — | 返回条数上限 |
module | string | — | 模块名 |
project | string | — | 项目名 |
factTypes | array | — | |
repository | string | — | 代码仓库 |
currentFile | string | — | 当前文件路径 |
modifiedFiles | array | — |
Parameters from the server's own tool schema.
This tool retrieves or queries previously stored memory/facts based on context. No side effects, no data modification, no external execution, and no destructive operations. It is a read-only operation that fetches information from memory storage, making it a Read category tool with low severity.
From the tool's definition Tool name 'memory_recall' and description '根据任务上下文召回相关经验 Fact Blocks' (Recall relevant experiences/Fact Blocks based on task context) indicate retrieval of stored memory data without modification.
Attacks that exploit this kind of access
根据任务上下文召回相关经验 Fact Blocks. It is categorised as a Read tool in the Zhiyi MCP Server, which means it retrieves data without modifying state.
memory_recall accepts 8 parameters: task, limit, module, project, factTypes, repository, currentFile, modifiedFiles. Required: task. The full parameter table on this page comes from the server's own tool schema.
Register the Zhiyi MCP server in PolicyLayer and add a rule for memory_recall: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Zhiyi. Nothing to install.
memory_recall is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the memory_recall rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for memory_recall. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
memory_recall is provided by the Zhiyi MCP server (zhiyi-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
memory_recall is one line of Zhiyi's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →