doris_list_udfs
Lists user-defined functions in Doris with pagination, optional database context, and name-pattern filtering. Returns total count, page items, and next offset for browsing UDFs.
Instructions
列出 UDF,分页返回。
SHOW FUNCTIONS 在 1.2 不支持 LIMIT,也不支持 SHOW GLOBAL FUNCTIONS(语法错误),
且要求连接已选库;因此取回后在本地切页(UDF 数量有限,代价可忽略)。
返回:{ok, total, count, offset, limit, items[{name}], has_more, next_offset}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doris_list_udfs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 本页返回条数 | |
| offset | No | 跳过条数,用于翻页 | |
| database | No | 可选,库上下文;1.2 的 SHOW FUNCTIONS 要求连接已选库 | |
| name_like | No | 可选,函数名 LIKE 模式 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |