Confirm a knowledge entry
confirm_knowledgeRecords that the person confirms a knowledge entry's newest version is right, so it reads confirmed for CodeGene's agents and the person's assistants. Call it only when the person has read that version, here or on CodeGene's Knowledge page, and told you in this conversation that it is right; never on your own judgement. It saves no new version and clears an out-of-date flag. If the person wants it changed instead, use update_knowledge (their next confirmation confirms the new text). Send the version you showed them; if a newer version was saved since, nothing is confirmed and the answer is version_moved with the newest number: show them that version first.
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": {
"knowledge_id": "<knowledge_id>",
"version": "<version>"
},
"name": "confirm_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | The version the person read and confirmed: the entry's newest (read_knowledge gives it). | |
| project_id | No | The project the entry is in. May be left out: the entry's id finds its own project or the workspace. | |
| knowledge_id | Yes | The entry (list_knowledge and search_knowledge give ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |