# a2a_cancel_task

Cancel an ongoing background task assigned to an Antigravity developer.

Agent View of the PolicyLayer registry record for `a2a_cancel_task`. HTML page: https://policylayer.com/tools/a2a-panel/a2a-cancel-task

## Facts

- Tool: `a2a_cancel_task`
- Server: A2a Panel (`CHANDARA-code/a2a-panel`) — https://policylayer.com/tools/a2a-panel.md
- Homepage: https://github.com/CHANDARA-code/a2a-panel
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "a2a_cancel_task",
    "arguments": {}
  }
}
```

## Why a2a_cancel_task is rated Critical

An AI agent that decides to call a2a_cancel_task doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from A2a Panel is gone. There is no undo for destructive operations.

## Use case

AI agents call a2a_cancel_task to permanently remove resources in A2a Panel, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches A2a Panel:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "a2a_cancel_task"
  ]
}
```

## Other tools on A2a Panel (11)

- `a2a_cancel_team_run` — Destructive — https://policylayer.com/tools/a2a-panel/a2a-cancel-team-run.md
- `a2a_run_team` — Execute — https://policylayer.com/tools/a2a-panel/a2a-run-team.md
- `a2a_account_usage` — Read — https://policylayer.com/tools/a2a-panel/a2a-account-usage.md
- `a2a_dispatch_to_antigravity` — Read — https://policylayer.com/tools/a2a-panel/a2a-dispatch-to-antigravity.md
- `a2a_get_task_status` — Read — https://policylayer.com/tools/a2a-panel/a2a-get-task-status.md
- `a2a_get_team_run` — Read — https://policylayer.com/tools/a2a-panel/a2a-get-team-run.md
- `a2a_list_accounts` — Read — https://policylayer.com/tools/a2a-panel/a2a-list-accounts.md
- `a2a_list_expert_agents` — Read — https://policylayer.com/tools/a2a-panel/a2a-list-expert-agents.md
- `a2a_list_presets` — Read — https://policylayer.com/tools/a2a-panel/a2a-list-presets.md
- `a2a_list_teams` — Read — https://policylayer.com/tools/a2a-panel/a2a-list-teams.md
- `a2a_validate_delivery` — Read — https://policylayer.com/tools/a2a-panel/a2a-validate-delivery.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=a2a-panel · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/a2a-panel
