Rewrite a draft section (server pipeline)
flypost_rewrite_sectionRewrite one highlighted passage of a post draft per an instruction, optionally with web research. Blocks until the rewritten text is ready (~1-3 minutes).
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": {
"draft_id": "<draft_id>",
"section_text": "<section_text>",
"instruction": "<instruction>"
},
"name": "flypost_rewrite_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | ||
| instruction | Yes | How to change it. | |
| section_text | Yes | The exact passage from the draft to rewrite. | |
| use_research | No |