List Castables
list_castablesList tables in a CAS library on SAS Viya by specifying the CAS server ID and caslib name. Optionally set a limit to control the number of table names returned.
Instructions
List tables in a CAS library.
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>"
},
"name": "list_castables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tables to return (default 50). | |
| server_id | Yes | CAS server name or ID. | |
| caslib_name | Yes | Name of the caslib. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |