sandboxes_agents_runs_cancel
Run sandboxes.agents.runs.cancel through the Appaloft application operation catalog. Shared with CLI and HTTP/API.
This record as markdown: /tools/appaloft-mcp/sandboxes-agents-runs-cancel.md
What sandboxes_agents_runs_cancel does on Appaloft
AI agents invoke sandboxes_agents_runs_cancel to trigger actions in Appaloft. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
runId | string | Yes | |
runtimeId | string | Yes |
Parameters from the server's own tool schema.
Why sandboxes_agents_runs_cancel is rated High
Cancelling a running agent/sandbox execution is an operational action that terminates an in-progress process. This is more than a read or write — it actively interrupts execution. While it could be seen as destructive in some contexts, cancellation is typically reversible (you can restart a run), so Execute is the most appropriate category.
From the tool's definition 'runs.cancel' suggests terminating/cancelling an active agent run operation
Attacks that exploit this kind of access
The rule that runs sandboxes_agents_runs_cancel safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Appaloft, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For sandboxes_agents_runs_cancel, this is the rule to start with:
sandboxes_agents_runs_cancel stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Appaloft, apply this rule, and every sandboxes_agents_runs_cancel call is checked against it from then on.
Questions about sandboxes_agents_runs_cancel
Run sandboxes.agents.runs.cancel through the Appaloft application operation catalog. Shared with CLI and HTTP/API. It is categorised as a Execute tool in the Appaloft MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
sandboxes_agents_runs_cancel accepts 2 parameters: runId, runtimeId. Required: runId, runtimeId. The full parameter table on this page comes from the server's own tool schema.
Register the Appaloft MCP server in PolicyLayer and add a rule for sandboxes_agents_runs_cancel: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Appaloft. Nothing to install.
sandboxes_agents_runs_cancel is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the sandboxes_agents_runs_cancel rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for sandboxes_agents_runs_cancel. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
sandboxes_agents_runs_cancel is provided by the Appaloft MCP server (@appaloft/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Appaloft, and thousands of servers like it.
Across the catalogue