list_workloads
Retrieve all workloads (deployments, daemonsets, etc.) within a Rancher project, with optional namespace filtering for targeted results.
Instructions
List workloads (deployments, daemonsets...) of a project, optionally filtered by namespace.
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": {
"project_id": "<project_id>"
},
"name": "list_workloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |