Write Create Resource
write_create_resourceCreates a resource file in Apache DolphinScheduler from a specified type, name, current directory, and JSON body, enabling agents to add resources programmatically.
Instructions
createResource
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": {
"type": "<type>",
"name": "<name>",
"currentDir": "<currentDir>",
"body": "<body>"
},
"name": "write_create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | 请求体 JSON 字符串 | |
| name | Yes | 资源文件名称 | |
| type | Yes | 资源文件类型 | |
| currentDir | Yes | RESOURCE_CURRENT_DIR |