ecs_list_tasks
Lists tasks running in an Amazon ECS cluster or service, with optional filters for service name and task status, to help investigate incidents and verify workload health.
Instructions
List tasks running in an ECS service
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": {
"cluster": "<cluster>"
},
"name": "ecs_list_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region | |
| cluster | Yes | The cluster name or ARN | |
| serviceName | No | Filter by service name | |
| desiredStatus | No | Filter by task status |