Write a page draft
write_page_draftHave Goppa write ONE page draft that answers a question where AI does not name your business. Called without approval it returns a preview that writes and uses nothing (the question, what is left this month and the worst-case cost) and an approval code; show it to the user and call again with that approval only after they agree. It never publishes the page. Needs write access.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "write_page_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | One of your sites in Goppa, by domain (example.com). Required when the account has more than one site: without it, the answer lists the sites to choose from. With a single site it can be left out. | |
| approval | No | Leave out the first time: you get a preview and an approval code. Send that code only after the user agrees. | |
| language | No | Optional: en, es, pt, fr, de, it or nl. | |
| question | No | The question, as the site tracks it. | |
| question_id | No | Or its position in the last measurement. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | ||
| as_of | No | ||
| draft | No | ||
| error | No | ||
| saved | No | ||
| state | No | ||
| market | No | ||
| period | No | ||
| reason | No | ||
| sample | No | ||
| missing | No | ||
| partial | No | ||
| preview | No | ||
| started | No | ||
| summary | No | ||
| approval | No | ||
| cost_usd | No | ||
| language | No | ||
| question | No | ||
| available | No | ||
| cost_note | No | ||
| data_status | No | ||
| next_action | No | ||
| evidence_ids | No | ||
| open_in_goppa | No | ||
| site_required | No | ||
| workspace_url | No | ||
| never_publishes | No | ||
| approval_changed | No | ||
| sites_in_account | No | ||
| untrusted_fields | No | ||
| worst_case_cost_usd | No | ||
| drafts_left_this_month | No | ||
| drafts_included_per_month | No |