Write Create Namespace
write_create_namespaceCreates a Kubernetes namespace in a specified cluster within DolphinScheduler, letting AI agents provision isolated namespaces for workflow execution and resource separation.
Instructions
createK8sNamespace
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": {
"namespace": "<namespace>",
"clusterCode": "<clusterCode>"
},
"name": "write_create_namespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | 命名空间 | |
| clusterCode | Yes | 集群代码 |