Inspect Table Schema
inspect_table_schemaInspect a single table's fields in read-only mode to validate schema before code generation. The real database must identify the target table; local SQL is only diagnostic.
Instructions
只读检查单表字段;真实数据库必须识别到目标表,本地 SQL 仅作诊断参考。
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": {
"table_name": "<table_name>"
},
"name": "inspect_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| workspace_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||