Apply manifest
apply_manifestApply a Kubernetes manifest (YAML) to create or update resources. Supports any Kubernetes resource type. For resources managed by a stack, prefer add_manifest_to_draft + apply_stack_changes. Direct apply_manifest on ArgoCD-managed resources is rejected unless allow_bypass=true.
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": "<manifest>",
"cluster_id": "<cluster_id>"
},
"name": "apply_manifest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, preview the change without executing it. | |
| manifest | Yes | YAML manifest content to apply. | |
| namespace | No | Default namespace for namespaced resources without explicit namespace. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| allow_bypass | No | Bypass the ArgoCD-managed-resource safety check. Set ONLY when the user explicitly asked to override ArgoCD (e.g. 'force', 'bypass argo'). The confirmation dialog still appears with an enhanced warning. |