Export code
export_codeDownload your app's whole code as a zip (every plan, owner only): {app, sha?} defaults to main and returns a one-hour download url with its sha and size.
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": "export_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app slug. | |
| sha | No | A commit sha (full or short). Defaults to `main`. |