cancelOperation
Cancel running operation. Required: operationId. Gracefully stops operation at next checkpoint. Returns confirmation. Use checkOperationStatus to verify cancellation completed.
This record as markdown: /tools/ai-xpoz-social-insights/canceloperation.md
What cancelOperation does on Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ)
AI agents invoke cancelOperation to trigger actions in Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ). 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 |
|---|---|---|---|
feedback | string | — | Optional. Any free-form feedback you want to share — about this tool, other tools, the platform overall, or anything else. Feedback does NOT have to be about th |
_requestId | string | — | |
operationId | string | Yes | The operation ID |
Parameters from the server's own tool schema.
Why cancelOperation is rated High
Cancelling an operation triggers an active intervention against a running process, which is an external operation with side effects beyond simple data retrieval or modification. It is not purely destructive (data is not deleted) nor a write (no data is created/modified), but it executes a control action that changes the state of an ongoing process.
From the tool's definition 'Cancel running operation' and 'Gracefully stops operation at next checkpoint'
Attacks that exploit this kind of access
The rule that runs cancelOperation safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For cancelOperation, this is the rule to start with:
cancelOperation 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 Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), apply this rule, and every cancelOperation call is checked against it from then on.
Questions about cancelOperation
Cancel running operation. Required: operationId. Gracefully stops operation at next checkpoint. Returns confirmation. Use checkOperationStatus to verify cancellation completed. It is categorised as a Execute tool in the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
cancelOperation accepts 3 parameters: feedback, _requestId, operationId. Required: operationId. The full parameter table on this page comes from the server's own tool schema.
Register the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP server in PolicyLayer and add a rule for cancelOperation: 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 Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ). Nothing to install.
cancelOperation 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 cancelOperation 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 cancelOperation. 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.
cancelOperation is provided by the Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ) MCP server (https://mcp.xpoz.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Social Media Search API — Twitter, Instagram, Reddit, TikTok (XPOZ), and thousands of servers like it.
This server
Across the catalogue