Write Update Resource
write_update_resourceUpdates an existing resource file in Apache DolphinScheduler using its full name, tenant, type, and new JSON body so AI agents can modify stored resources through the REST API.
Instructions
updateResource
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": {
"fullName": "<fullName>",
"tenantCode": "<tenantCode>",
"type": "<type>",
"name": "<name>",
"body": "<body>"
},
"name": "write_update_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | 请求体 JSON 字符串 | |
| name | Yes | 资源文件名称 | |
| type | Yes | 资源文件类型 | |
| fullName | Yes | RESOURCE_FULLNAME | |
| tenantCode | Yes | 操作系统租户 |