list_deployments
List a Worker's recent deployments newest first, showing deployment ID, time, source, traffic split, message, and author; the first entry is the deployment currently serving traffic.
Instructions
List a Worker's recent deployments, latest first (the first entry is the deployment currently serving traffic): deployment ID, time, source, traffic split across version IDs, message and author. 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_deployments"
}
}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. |