Backup database
backup_databaseBack up an app's D1 database now: {app, binding?} (binding defaults to the single declared binding). Returns the stored backup id, time and size. Owner only.
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": {
"app": "<app>"
},
"name": "backup_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app slug. | |
| binding | No | The D1 binding. Omit to use the app's only declared binding. |