td_knowledge_save
Save free-form markdown knowledge entries like essays, notes, or explanations. Stores them locally with metadata for later retrieval.
Instructions
Persist a free-form markdown knowledge entry (prose/notes/essays).
Returns the entry id. The body is stored at ~/.tdpilot/knowledge//entries/.md and the metadata in index.json. Local-only, never pushed anywhere. Prefer td_memory_save (with td_memory_learn) when you want to capture a structured, replayable technique recipe rather than free-form prose.
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": {
"body": "<body>"
},
"name": "td_knowledge_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown body of the knowledge entry. Reference essay, math, explanations — keep under 200 KB. Split larger writeups into multiple linked entries. | |
| name | No | Short title for the entry. | |
| tags | No | Lowercase tags for filtering, e.g. ['feedback', 'reaction-diffusion']. | |
| notes | No | Free-form internal notes. | |
| scope | No | 'project' or 'global'. Project requires TDPILOT_PROJECT_NAME. | project |
| source | No | Optional attribution — where this technique came from (e.g. 'youtube tutorial 2025-03-01', 'forum post'). | |
| description | No | One-line summary used in search results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |