set_output_format
Change a session's output format to json, compact, structured, or markdown so responses match your integration or display needs.
Instructions
Change the output format for a session
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": {
"sessionId": "<sessionId>",
"outputFormat": "<outputFormat>"
},
"name": "set_output_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session ID | |
| outputFormat | Yes | New output format: 'json' (full JSON), 'compact' (minimal text), 'structured' (readable text), 'markdown' (formatted docs) |