yaml_to_json
Convert YAML strings into readable JSON with customizable indentation.
Instructions
Convert YAML 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": {
"yaml_string": "<yaml_string>"
},
"name": "yaml_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml_string | Yes | YAML string to convert | |
| indent | No | JSON indentation level (default: 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |