ds_update_resource_content
Update text-based resource file content in Apache DolphinScheduler immediately so workflows use the new version on their next execution.
Instructions
Update resource file content (text files only).
⚠️ Changes take effect immediately. Workflows referencing this script will use the new version on their next execution.
Args: resource_id: Resource ID content: New file content description: Update note (optional)
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": {
"resource_id": "<resource_id>",
"content": "<content>"
},
"name": "ds_update_resource_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| description | No | ||
| resource_id | Yes |