List Compute Columns
list_compute_columnsList columns of a SAS table in a compute context to inspect its structure. Retrieve column names and metadata for tables in SAS libraries.
Instructions
List the columns of a table in a SAS library within a compute context.
Runs in the reusable per-user compute session for the context.
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": {
"compute_context_name": "<compute_context_name>",
"library_name": "<library_name>",
"table_name": "<table_name>"
},
"name": "list_compute_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of columns to return (default 50). | |
| start | No | Offset of the first column to return (default 0). | |
| table_name | Yes | Name of the table within the library. | |
| filter_name | No | Optional name filter (substring match). | |
| library_name | Yes | Name of the SAS library/libref (e.g. 'WORK', 'SASHELP'). | |
| compute_context_name | Yes | Name of the compute context (see list_compute_contexts). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |