util_yaml_json
YAML to JSON converter — Offline YAML 1.2 to JSON (yaml=) or JSON to YAML (json=) conversion with clear line-numbered parse errors. Handles block and flow collections, quoted, plain and block scalars (| and > with chomping), anchors, aliases, merge keys and multi-document streams; warns on duplicate keys. Optional indent= 1-8. Max 200000 chars. Price: $0.002 USDC (Base, via x402).
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": "<yaml>"
},
"name": "util_yaml_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaml | Yes | ports: [80, 443] |