e2b_send_signal
Stop a running process in an E2B sandbox by sending SIGTERM or SIGKILL, selecting it by PID or tag.
Instructions
Send SIGTERM or SIGKILL to a process running in a sandbox, selected by pid or tag.
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": {
"sandboxId": "<sandboxId>",
"signal": "<signal>"
},
"name": "e2b_send_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| tag | No | ||
| port | No | Optional envd port; defaults to 49983 | |
| signal | Yes | ||
| username | No | ||
| sandboxId | Yes | E2B sandbox ID | |
| accessToken | No | Optional sandbox access token |