list_deployments
List deployments in a Rancher cluster, optionally filtering by namespace for focused management.
Instructions
List Deployments in a cluster, optionally scoped to a namespace.
Args: cluster_id: Rancher-assigned cluster identifier. namespace: Optional namespace to filter deployments.
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_id": "<cluster_id>"
},
"name": "list_deployments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| cluster_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |