relay_save_fact
Append a fact or decision to shared memory, optionally linking it to a parent fact to preserve reasoning. Flags conflicting forks and rejects credential-like content.
Instructions
Append a fact to shared memory. Facts are never overwritten. Pass parent_fact_id to say which earlier fact this builds on. If a sibling with different content already builds on the same parent, the response flags a potential fork. Never store credentials: content that looks like a key or password is rejected.
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": {
"content": "<content>",
"written_by": "<written_by>",
"session_id": "<session_id>"
},
"name": "relay_save_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The fact or decision, in one or two sentences (max 2000 chars) | |
| session_id | Yes | Identifier of the current session/conversation | |
| written_by | Yes | Which tool/model is writing, e.g. "claude-desktop" or "cursor" | |
| parent_fact_id | No | ID of the fact this builds on; omit for a root fact |