List Compute Tables
list_compute_tablesList tables in a SAS library within a compute context, including WORK or assigned librefs. View available SAS/Compute tables to plan your next code steps.
Instructions
List the tables in a SAS library within a compute context.
These are SAS/Compute tables (e.g. WORK or an assigned libref), distinct from in-memory CAS tables (see list_castables). 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>"
},
"name": "list_compute_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tables to return (default 50). | |
| start | No | Offset of the first table to return (default 0). | |
| 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 |