add_fact
Record verified facts about the codebase along with source proof so later agent sessions avoid re-verifying the same information.
Instructions
Record a structured fact you just verified about this codebase, so the next agent (or your next session) doesn't have to re-verify it.
Args: claim: the factual statement (one sentence). file: source file path (relative to repo root) that proves the claim. lines: line range like '42' or '42-50'. tool: name of tool used to verify ('grep', 'read', 'bash', etc.). command: exact command if reproducible. tags: optional tags for later filtering.
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": {
"claim": "<claim>"
},
"name": "add_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | Yes | ||
| file | No | ||
| lines | No | ||
| tool | No | ||
| command | No | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |