dlf__UpdateScript
Updates the content and settings of an existing DLF script by project and script name, supporting SQL, Flink, Spark, Hive, DWS, and Shell script types.
Instructions
[DLF] 修改脚本内容
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": {
"project_id": "<project_id>",
"script_name": "<script_name>"
},
"name": "dlf__UpdateScript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | 脚本类型 | |
| content | No | 脚本内容 | |
| database | No | 脚本执行所在的数据库 | |
| directory | No | 脚本关联的目录 | |
| queueName | No | 脚本关联的DLI队列名称 | |
| project_id | Yes | ||
| script_name | Yes | ||
| configuration | No | 脚本的配置项参数 | |
| connectionName | No | 脚本关联的连接名称 |