execute_kasm_command
Dispatch a command to a running Kasm Workspaces session without waiting for output or exit code. Use it to trigger actions inside an active session.
Instructions
Dispatch a command inside a session. Kasm's API never returns output/exit_code for this call.
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": {
"kasm_id": "<kasm_id>",
"command": "<command>"
},
"name": "execute_kasm_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| command | Yes | ||
| kasm_id | Yes | ||
| working_dir | No |