k8s_create_resource
Create Kubernetes resources by providing YAML or JSON content with apiVersion, kind, and metadata. Optionally override the namespace.
Instructions
Create a Kubernetes resource from YAML or JSON content. The content must include apiVersion, kind, and metadata. Optionally override the namespace.
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>",
"yaml_content": "<yaml_content>"
},
"name": "k8s_create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| namespace | No | ||
| yaml_content | Yes |