save_reply
Save a ChatGPT reply to a local file without passing the full text through the model, extract the largest markdown block, and get word and section stats.
Instructions
Write a reply to a file under the work dir without passing the whole text through the model. reply_format largest_markdown extracts the biggest ```markdown block (falls back to full text). Returns word/section stats.
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": {
"chat": "<chat>",
"path": "<path>"
},
"name": "save_reply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| path | Yes | ||
| index | No | ||
| reply_format | No | largest_markdown |