JSON ↔ YAML, either direction, auto-detected
json_yamlConverts JSON to YAML or YAML to JSON. It works out which one you gave it, so you do not have to say. A parse failure comes back with the parser message instead of silently producing something that looks fine and is not. Use when a config, a CI file, or a Kubernetes manifest needs to be in the other format.
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": {
"text": "<text>"
},
"name": "json_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional: "json" or "yaml" to force the direction. | |
| text | Yes | The JSON or YAML content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||