ds_rename_resource
Rename a resource file or folder in DolphinScheduler. Check workflow references first to prevent invalid resource IDs, as renaming may alter the ID.
Instructions
Rename a resource file or folder.
⚠️ Warning: DS may implement rename as delete + recreate, which changes the resource_id. If this resource is referenced by workflow tasks, the reference will become invalid after renaming. Check references with ds_list_workflows before proceeding.
Args: resource_id: Resource ID new_name: New name (filename or folder name only, no path prefix) description: Description resource_type: FILE or UDF
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| description | No | ||
| resource_id | Yes | ||
| resource_type | No | FILE |