Save a dApp draft
dapp_draft_saveSaves a dapps.theta listing draft for a person to finish in Wave's dApps creator: info, one of the 12 design recipes, optional settings and files (≤50, ≤1 MB, stored privately, never run). Returns draft_id, checks and a one-time continue_url (7 days). Draft only. Needs sign-in (auth_challenge then auth_verify).
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>"
},
"name": "dapp_draft_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | name (≤40), pitch (≤140), label?, category, tags (≤6), url (https), contracts, source, support, description, onchain, screenshots (≤3), design (template id e.g. "wave-teal", or { template, headline, subline }), settings { embed }, files [{ path, text | content_base64 }] | |
| draft_id | No | The draft_id a save returned |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| files | No | ||
| stale | No | ||
| checks | No | ||
| source | No | ||
| status | No | ||
| draft_id | No | ||
| continue_url | No |