create_config
Create a new Telegraf configuration by providing a name and TOML content. Optionally add labels and a description to manage and identify the configuration.
Instructions
Create a new Telegraf configuration
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": {
"name": "<name>",
"toml": "<toml>"
},
"name": "create_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the configuration | |
| toml | Yes | The Telegraf configuration in TOML format | |
| labels | No | Comma-separated labels (e.g., "production,monitoring") | |
| description | No | Optional description of the configuration |