Get Fact by Key
get_factRetrieve a fact by its exact key — deterministic, never misses. Use get_fact for self-notes: get_fact(key='agent::self-note:opening') or get_fact(key='agent::self-note:closing'). search_facts misses self-notes because their embedding similarity scores below other identity facts — get_fact(key=) is the only reliable retrieval path. Also use for inter-agent handoffs when the exact key is known. Returns the current (non-deprecated) version of the fact.
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": {
"key": "<key>"
},
"name": "get_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Exact fact key (e.g. 'sprint:bootstrap-namespace:review-emily_dev') | |
| include_granted | No | When true (default) and this account has no fact under the key, a key that starts with a prefix shared with this account resolves from that workspace, tagged |from:<grantor>'s workspace: <prefix>. Set false to read this account only. Ignored inside a workspace session. |