update-container-workload-profile
Manage Kubernetes pods by updating a container workload profile: set managed status, assign Illumio labels, and configure enforcement mode for the namespace.
Instructions
Update a Container Workload Profile to manage Kubernetes pods in Illumio. Set managed=true and assign labels to start managing pods in a namespace. WRITE OPERATION: changes PCE state. In clients that gate tool calls (Claude Desktop, Claude Code), this pauses for the user to approve it -- the call has not failed and must not be retried while waiting.
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": {
"profile_href": "<profile_href>"
},
"name": "update-container-workload-profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| managed | No | Set to true to manage pods in this namespace | |
| profile_href | Yes | Full href of the container workload profile (e.g., /orgs/1/container_clusters/uuid/container_workload_profiles/uuid) | |
| assign_labels | No | Illumio labels to assign to pods (e.g., [{'href': '/orgs/1/labels/5'}]) | |
| enforcement_mode | No | Enforcement mode for managed pods |