Get Castable Columns
get_castable_columnsRetrieve column metadata (names, types, labels, formats) for a CAS table using server, caslib, and table names. Missing tables produce a structured not_found response explaining common causes.
Instructions
Get column metadata for a CAS table (names, types, labels, formats).
A missing table returns a structured not_found with the two usual
causes (unloaded source table vs session-scoped table) instead of a raw
HTTP error.
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": {
"server_id": "<server_id>",
"caslib_name": "<caslib_name>",
"table_name": "<table_name>"
},
"name": "get_castable_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum columns to return (default 200). | |
| server_id | Yes | CAS server name or ID. | |
| table_name | Yes | Name of the table. | |
| caslib_name | Yes | Name of the caslib. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |