layerfs_workspace_exec
Run commands inside a mounted workspace and get full stdout, stderr, and exit code back. Call workspace.commit afterward, even after a failing command, to checkpoint results.
Instructions
Run a command in a mounted Workspace; returns complete stdout/stderr and exitCode. Does not checkpoint: call workspace.commit afterward, including after a failing command. A client timeout does not establish that the command stopped; inspect before retrying.
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": {
"ws": "<ws>",
"command": "<command>"
},
"name": "layerfs_workspace_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ws | Yes | ||
| command | Yes | ||
| message | No |