AI agents invoke replicate_cancel_prediction to trigger actions in UnClick. 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 |
|---|---|---|---|
api_token | string | Yes | |
prediction_id | string | Yes |
Parameters from the server's own tool schema.
Cancelling a running prediction is an action that triggers an external operation (stopping an in-progress computation on Replicate's platform). It is not purely destructive (no data is deleted) nor a simple read/write — it actively intervenes in an ongoing external process. The blast radius is medium: a misuse could abort legitimate running jobs, wasting compute and potentially disrupting workflows.
From the tool's definition Cancel a running Replicate prediction
Attacks that exploit this kind of access
Cancel a running Replicate prediction. It is categorised as a Execute tool in the UnClick MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
replicate_cancel_prediction accepts 2 parameters: api_token, prediction_id. Required: api_token, prediction_id. The full parameter table on this page comes from the server's own tool schema.
Register the UnClick MCP server in PolicyLayer and add a rule for replicate_cancel_prediction: 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 UnClick. Nothing to install.
replicate_cancel_prediction 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 replicate_cancel_prediction 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 replicate_cancel_prediction. 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.
replicate_cancel_prediction is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →