request_approval
Requests user approval in the UI for draft cover letter actions like mark_ready or export, ensuring human consent before finalizing or sharing.
Instructions
Ask the user to approve an action on a draft. You cannot approve it yourself.
Args:
action: "mark_ready" (the letter is final; drafts are already queued for
this) or "export" (give the user the text; only after mark_ready was
approved). Sending, emailing or applying is never possible and will
be refused.
draft_id: The `draft_id` returned by draft_cover_letter.
The request waits for the user's decision in the UI. Do not ask again
and do not wait for it: finish your answer and tell the user.
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": {
"action": "<action>",
"draft_id": "<draft_id>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| draft_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||