Remove knowledge media
remove_knowledge_mediaDetach a media file from an agent's knowledge sources. Get ids from list_agents / list_media.
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": {
"spaceId": "<spaceId>",
"agentId": "<agentId>",
"mediaId": "<mediaId>"
},
"name": "remove_knowledge_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | Agent ID from `list_agents` | |
| mediaId | Yes | Media ID to detach | |
| spaceId | Yes | Space ID |