patch_knowledge_index
Change the structured index schema from one sentence of plain language.
Example requests: "also track the author so users can find other books by them", "I want to
filter by illustrator", "drop the cover link". The model may only emit add/modify/remove/refused
— it cannot rewrite the table, so it has no way to damage columns the user did not mention.
**Data that is not in the documents comes back in `refused`, not as a new column.** Asked for
a publication year that the corpus does not carry, it says so instead of inventing an empty
column. Pass that refusal on to the user verbatim.
Call with `apply=false` first and show the user what would change; batch several edits and apply
once. Applying marks the index for rebuild — it does **not** re-embed anything, so it is cheap.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": {
"name": "<name>",
"request": "<request>"
},
"name": "patch_knowledge_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| apply | No | ||
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |