Delete a knowledge file
delete_knowledgeRemove one knowledge file from the identity's hosted phone agent; its stored document and text are deleted. Calls already in progress keep what they loaded; the next call no longer sees it. A repeat answers not_found. Returns the remaining list.
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": {
"identity_id": "<identity_id>",
"file_id": "<file_id>"
},
"name": "delete_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The knowledge file id from list_knowledge or upload_knowledge. | |
| identity_id | Yes | Identity id from list_identities. |