instance_resource
Retrieve database, schema, table, or column metadata from an instance by providing the instance ID and resource type.
Instructions
获取实例内的资源信息(数据库/schema/表/列)。
Args: instance_id: 实例 ID resource_type: database/schema/table/column db_name: 数据库名 schema_name: schema名 tb_name: 表名
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": {
"instance_id": "<instance_id>",
"resource_type": "<resource_type>"
},
"name": "instance_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | No | ||
| tb_name | No | ||
| instance_id | Yes | ||
| schema_name | No | ||
| resource_type | Yes |