list_versions
Lists a Cloudflare Worker's recent versions in reverse chronological order with version ID, creation time, source, author, and message/tag for deployment history review.
Instructions
List a Worker's recent versions, newest first: version number and ID, creation time, source, author and the version message/tag. Read-only; needs CF_API_TOKEN.
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": {
"name": "<name>"
},
"name": "list_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Worker script name as shown in the Cloudflare dashboard, e.g. "my-worker". | |
| limit | No | How many entries to return, newest first. Default 10, max 50. | |
| account_id | No | Cloudflare account ID (32 hex characters). Optional when CF_ACCOUNT_ID is set in the server environment. |