Save a bot draft
bot_draft_saveSaves a wave.botrecipe/1 bot draft for a person to finish in Wave's bot builder. Returns draft_id, checks and a one-time continue_url (7 days) to give that person. Draft only: you never mint, sign, spend or get a name. Max 20 open drafts. Needs sign-in (auth_challenge then auth_verify). Failed checks: error draft_invalid with checks.
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": {
"recipe": "<recipe>"
},
"name": "bot_draft_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes | wave.botrecipe/1: name, slug?, pitch (≤90), category, tags (≤8), about, personality, rules { mode, freePerUserPerDay… no pricing }, knowledge (≤40: "v3:N" refs or { title, text ≤1,800 bytes, private? }), design? (wave.avatar/1 pixel20, ≤4 KB) | |
| draft_id | No | The draft_id a save returned |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ||
| stale | No | ||
| checks | No | ||
| source | No | ||
| status | No | ||
| draft_id | No | ||
| expires_at | No | ||
| continue_url | No | ||
| claim_expires_at | No |