Remove a knowledge file from the agent
remove_agent_documentRemove an uploaded material from the agent (see get_agent → documents[].url). Free.
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": {
"id": "<id>"
},
"name": "remove_agent_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id (UUID) — from list_agents | |
| url | No | documents[].url (preferred) | |
| filename | No | documents[].filename if you have no url |