toml_to_json
Transform TOML content into formatted JSON with configurable indentation.
Instructions
Convert TOML to formatted JSON.
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": {
"toml_string": "<toml_string>"
},
"name": "toml_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toml_string | Yes | TOML string to convert | |
| indent | No | JSON indentation level (default: 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |