Describe Table
describe_tableRetrieve detailed column metadata for a DB2 for i table, including data types, lengths, nullability, defaults, and CCSID. Omit schema to use the system default.
Instructions
Get detailed column information for a specific table including data types, lengths, nullability, defaults, and CCSID. Uses the system's default schema if not provided.
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": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe | |
| schema | No | Schema (library) name containing the table. Uses the system's default schema if not provided. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| error | No | ||
| filters | No | Row filters most queries on this table need, such as leaving out deleted rows | |
| success | Yes | ||
| relations | No | ||
| business_description | No |