draft_revise
Optional reason: why you're making this change, in one sentence the person reads (at most 1000 characters). Optional sources: reference addresses in Home, such as /mail/#/c/12; never message or document text. Replace a draft's text with a new version. Earlier versions are kept so the user can step back. A scheduled message keeps its time. Its formatting goes unless html gives it again. html: optional formatted text in place of body's plain text (body is then made from it): one per line, an empty
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": "<draft>",
"body": "<body>",
"author": "<author>"
},
"name": "draft_revise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| html | No | ||
| draft | Yes | ||
| model | No | ||
| author | Yes | ||
| reason | No | ||
| sources | No | ||
| instruction | No |