lore_context
Read or write an area's context document using a node path. Omit body to fetch existing context; provide body to directly write authored Markdown.
Instructions
Read or write an area's context document (a context-kind node). Omit body to FETCH the context at a path. Pass body to WRITE it directly as authored content - this is an authored doc, it does NOT run synthesis. Use this for importing/editing hand-written context.md files; the capture flow is what derives context from sessions.
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": {
"path": "<path>"
},
"name": "lore_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | When provided, writes this Markdown as the context node body (authored, no synthesis). When omitted, the tool reads instead. | |
| path | Yes | Node path, e.g. mcp/context (area context) or context (project overview). | |
| title | No | Title when writing. Defaults to the area name derived from the path. | |
| project | No | Project slug (defaults to .lorerc in cwd, then LORE_PROJECT). |