json_to_yaml
Converts a JSON string into YAML format. Provide a JSON string to get its YAML representation.
Instructions
Convert JSON string to YAML format.
Parameters:
json_str — JSON string to convert.
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": {
"json_str": "<json_str>"
},
"name": "json_to_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |