delete-agent-files
Delete specific files from an AI agent by providing its agent ID and file IDs. Confirm before invoking because file removal is destructive.
Instructions
Remove files from an AI agent. Mirrors syntx.agents.deleteFiles. Issues DELETE /api/v1/agents/files/delete/{agent_id} with {file_ids: [...]}. Destructive — confirm before invoking.
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_ids": "<file_ids>"
},
"name": "delete-agent-files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent UUID — the `agent_id` field returned by `list-agents`. | |
| file_ids | Yes | File ids to remove, as returned by `list-agent-files`. |