append_to_baton
Write to a baton — append (for append / append-chained presets) or overwrite (for single-object / checkpoint presets). FREE (consumes the prepaid writes budget; no per-call charge). Owner or editor/write-token only. Set overwrite=true to replace in full on overwrite-shaped batons. Example: append_to_baton {id:"bat_", content:""}
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": {
"id": "<id>",
"content": "<content>"
},
"name": "append_to_baton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Baton id, or a write-capable token id (tok_…). | |
| content | Yes | ||
| overwrite | No | ||
| version_id | No | Optimistic-lock guard for overwrite. | |
| contentType | No | ||
| contentEncoding | No |