Detach file
detach_fileDetach a file from the agent (the uploaded file itself is not deleted).
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": {
"agent_id": "<agent_id>",
"file_id": "<file_id>"
},
"name": "detach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Id of the attached file. | |
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). |