列出表
yearning_list_tablesList tables in a specified database and data source, enabling schema exploration and query preparation.
Instructions
列出指定数据源、指定库下的表。对应 GET /api/v2/fetch/table
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": {
"source_id": "<source_id>",
"database": "<database>"
},
"name": "yearning_list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | 库名 | |
| source_id | Yes | 数据源 ID | |
| response_format | No | markdown |