Ctx Store Cmd
ctx_store_cmdExecutes a shell command in a resource-limited sandbox, captures its output, and saves it to a Loom drawer for context storage and later search.
Instructions
Run a shell command in a sandbox, capture its output, and store it in the Loom drawer.
Requires LOOM_STORE_CMD=1 to be set (opt-in). Sandbox enforces CPU, memory, and process limits (no network isolation on Windows). Fails closed if sandbox unavailable.
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": {
"cmd": "<cmd>"
},
"name": "ctx_store_cmd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | shell command to execute | |
| label | No | short human-readable name (defaults to cmd) | |
| session_id | No | logical session the output belongs to | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||