Write Create Udf Func
write_create_udf_funcCreate and register a UDF in Apache DolphinScheduler by providing its type, function name, class name, and full name for use in workflows.
Instructions
createUdfFunc
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>",
"funcName": "<funcName>",
"className": "<className>",
"fullName": "<fullName>"
},
"name": "write_create_udf_func"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | UDF类型 | |
| argTypes | No | 参数 | |
| database | No | 数据库名 | |
| fullName | Yes | ||
| funcName | Yes | 函数名称 | |
| className | Yes | 包名类名 | |
| description | No | udf描述,使用说明 |