List Deployments
list_deploymentsRetrieve a Worker's deployments newest first, showing traffic percentages across versions and identifying the live deployment by its newest timestamp.
Instructions
List a Worker's deployments (newest first). Each deployment maps traffic percentages to one or more versions; the newest deployment is the live one.
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": {
"script_name": "<script_name>"
},
"name": "list_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_name | Yes | The name of the Worker script |