upsert canon entry
upsert_canon_entrySave a fact or revise canon only after the user approves it. Preserve the existing title/kind. LOCKED requires approval as established fact; brainstorming is not approval. Existing entries require expectedRevision from retrieval; conflicting edits fail without overwriting. Identical retries leave revision history unchanged.
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": {
"projectId": "<projectId>",
"kind": "<kind>",
"title": "<title>",
"status": "<status>",
"content": "<content>"
},
"name": "upsert_canon_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| tags | No | ||
| canon | No | false marks a temporary, alternate, or what-if entry as non-canon. Omit to keep the current value; new entries default to canon. | |
| title | Yes | ||
| status | Yes | ||
| content | Yes | ||
| expiresAt | No | Optional ISO 8601 date or datetime after which a non-canon or temporary entry expires. Omit to keep, null to clear. | |
| projectId | Yes | ||
| revisionReason | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |