delete_agent
Remove a Telegraf agent from the controller by providing its agent ID and confirming deletion. This permanently decommissions the agent and removes its configuration.
Instructions
Delete a Telegraf agent from the controller
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>"
},
"name": "delete_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be set to true to confirm deletion | |
| agent_id | Yes | The ID of the agent to delete |