Update draft text (agent-authored)
flypost_update_draftReplace a draft's post text — the autosave-equivalent edit. This REPLACES existing text; the result includes previous_text so you can restore it if the overwrite was a mistake. Follow the project writing voice (flypost_get_writing_voice). Line breaks are preserved as LinkedIn paragraphs.
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>",
"text": "<text>"
},
"name": "flypost_update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The full post text (plain text, line breaks preserved). | |
| draft_id | Yes | ||
| agent_name | No | Your name (e.g. 'Claude') — shown in the post's Sources panel as the author. | |
| authoring_note | No | One or two sentences on where this text's material came from. Shown to the user in the post's Sources panel — always provide it when you wrote the words. |