List hosted app versions
list_app_versionsList the kept versions of a hosted app, newest first; Playbook keeps the last 50. Each has a number, created_at, created_by, file_count, bytes, comment and, for a rollback, reverted_from_number. Also returns head_version_number, the version that is live. Read a version's files with get_app_source and put one back live with revert_app.
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": {
"slug": "<slug>"
},
"name": "list_app_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the app, from list_apps | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |