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.
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 |