cas_load_info
Check whether a CAS table load requires confirmation by returning caslib kind, source size, existing-session status, and copy-confirmation need without loading data.
Instructions
Before "Load into this session": the caslib's kind (SpeedyStore: stays live in SingleStore; others: copied into CAS memory), the source table's size from table.fileInfo where CAS can tell, whether the load needs a second confirmation (a copy above SINGLESTORE_MCP_CAS_LOAD_CONFIRM_MB, default 100 MB, or of unknown size) and whether this session already has it. Nothing is loaded.
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": {
"caslib": "<caslib>",
"table": "<table>"
},
"name": "cas_load_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| caslib | Yes | ||
| connection | No |