schema
List tables and views in a SQLite database to reveal available data structures before writing read-only queries.
Instructions
列出数据库中的表和视图(schema 工具的一部分)。
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": {
"db_path": "<db_path>"
},
"name": "schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | ||
| db_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |