Apply manifest
k8s_apply_manifestApply one or more Kubernetes YAML manifests server-side, automatically placing namespaced resources in the target namespace and returning a per-document summary.
Instructions
Server-side apply one or more YAML documents (kubectl apply --server-side).
Namespaced documents without metadata.namespace go to namespace.
Returns one summary per document; object bodies are not echoed.
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": {
"manifest_yaml": "<manifest_yaml>"
},
"name": "k8s_apply_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| dry_run | No | ||
| namespace | No | ||
| manifest_yaml | Yes | ||
| force_conflicts | No |