pv_update
Update an existing PersistentVolume's metadata, such as labels, to modify its attributes without recreating it.
Instructions
Update an existing PersistentVolume's metadata (e.g., labels).
Args: context_name: The Kubernetes context name name: The PersistentVolume name labels: New labels to apply to the PersistentVolume
Returns: Status of the update operation
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": {
"context_name": "<context_name>",
"name": "<name>",
"labels": "<labels>"
},
"name": "pv_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| labels | Yes | ||
| context_name | Yes |