zifu_write
Writes an experience memory to the append-only store with scope and source controls, then returns the event and source pointer for verifiable recall.
Instructions
写入一条经验记忆。source: internal=体系内部动作(正本完整) / external=外部观测(采样带证据)。 scope 分级: org=人人可读(缺省) / agent=仅该agent / user=仅该user名下 / session=仅该会话。 写入前过紫府闸。返回事件与来源指针(契约1:来源指针先行)。
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": {
"entity": "<entity>",
"kind": "<kind>",
"payload": "<payload>"
},
"name": "zifu_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| scope | No | org | |
| entity | Yes | ||
| source | No | internal | |
| payload | Yes | ||
| user_id | No | ||
| agent_id | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |