k8s_annotate_resource
Add or update annotations on Kubernetes resources to store metadata for tools and libraries. Specify resource type, name, and annotations via context.
Instructions
Add or update annotations on a Kubernetes resource. Annotations store non-identifying metadata for tools and libraries.
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": "<context>",
"resource_type": "<resource_type>",
"name": "<name>",
"annotations": "<annotations>"
},
"name": "k8s_annotate_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | Yes | ||
| namespace | No | ||
| overwrite | No | ||
| annotations | Yes | ||
| resource_type | Yes |