add
Capture lore and docs into structured, AI-readable memory with links, batch creation, and priority levels, so agents retrieve context quickly.
Instructions
add(type='lore'|'doc', title, msg=) — lore=journal entry/decision, doc=spec/plan. 2 linking args: links=unified (code files·dc/lr id·title auto-classified, flow=True for a doc chain) · push_to=send to a box (not a link). items=['a','b']→checklist(0/N, doc only) · items=[{...}]→batch creation(both lore·doc — use this for bulk, quieter nudges than N single calls). level 1~4(lore): 1=note 2=verified 3=pinned(shown in brief) 4=global(all projects). details help=True
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg | No | ||
| flow | No | ||
| help | No | ||
| tags | No | ||
| type | No | lore | |
| items | No | ||
| level | No | ||
| links | No | ||
| title | No | ||
| status | No | open | |
| push_to | No | ||
| relates | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |