Drop Castable
drop_castableDrop a loaded CAS table from memory while keeping its source file on disk. Refuses tables with no saved source unless explicitly allowed, preventing data loss.
Instructions
Drop a table from CAS memory, keeping its source file.
Frees the memory a loaded table takes; promote_table_to_memory
loads it again from its source. Nothing on disk is deleted. A table
with no source file in its caslib exists only in memory, so dropping
it would lose its data: such a table is refused unless
allow_unsaved is true. Save it first with save_castable, or
ask the user before dropping it. A table that is not loaded is left
as it is.
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_name": "<caslib_name>",
"table_name": "<table_name>"
},
"name": "drop_castable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | No | CAS server (default ``cas-shared-default``). | cas-shared-default |
| table_name | Yes | The table to drop from memory. | |
| caslib_name | Yes | Caslib of the table. | |
| allow_unsaved | No | Drop it even when no source file holds its data (default false). Only with the user's say-so. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||