# Cancel input request

Tool: `veryfront__cancel_input_request`

Cancel an input request.

## Arguments

| Name               | Type                                   | Required | Description                                                                                                                                                                                                                                                                                                                                                       |
| ------------------ | -------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `input_request_id` | string · uuid                          | Yes      | Input request to cancel. A fresh cancellation of an already-resolved request returns 409; only an open request can be cancelled. Requires project.runs.write on the run’s project and, for a request in a conversation, editor access on that conversation. An authorized retry of the identical request with the same idempotency key returns its stored result. |
| `idempotency_key`  | string · min length 1 · max length 128 |          | Retry key for this operation, 1–128 characters. Overrides the HTTP header. If both are omitted, a new key is generated for each call; supply a key to retry safely.                                                                                                                                                                                               |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__cancel_input_request",
    "arguments": {
      "input_request_id": "00000000-0000-0000-0000-000000000000"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"input_request_id\":\"00000000-0000-0000-0000-000000000000\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"run_id\":\"00000000-0000-0000-0000-000000000000\",\"kind\":\"form\",\"responder_rules\":{\"exclude_run_starters\":false,\"required_capability\":\"project.approvals.decide\",\"step_up_seconds\":1,\"excluded_user_ids\":[\"string\"]},\"tool_call\":{\"name\":\"string\",\"arguments\":{}},\"delivery\":\"tool_result\",\"title\":\"string\",\"fields\":[{\"name\":\"string\",\"label\":\"string\",\"description\":\"string\",\"required\":false,\"type\":\"password\"}],\"status\":\"open\",\"requested_responder_type\":\"human\",\"response\":{\"response_id\":\"00000000-0000-0000-0000-000000000000\",\"values\":{},\"actor\":{\"type\":\"user\",\"id\":\"string\"},\"redacted_fields\":[\"string\"],\"created_at\":\"2026-01-01T00:00:00Z\"},\"created_at\":\"2026-01-01T00:00:00Z\",\"expires_at\":\"2026-01-01T00:00:00Z\",\"resolved_at\":\"2026-01-01T00:00:00Z\",\"tool_call_id\":\"string\",\"conversation_id\":\"00000000-0000-0000-0000-000000000000\",\"description\":\"string\",\"metadata\":{},\"can_respond\":false}"
      }
    ],
    "structuredContent": {
      "input_request_id": "00000000-0000-0000-0000-000000000000",
      "project_id": "00000000-0000-0000-0000-000000000000",
      "run_id": "00000000-0000-0000-0000-000000000000",
      "kind": "form",
      "responder_rules": {
        "exclude_run_starters": false,
        "required_capability": "project.approvals.decide",
        "step_up_seconds": 1,
        "excluded_user_ids": [
          "string"
        ]
      },
      "tool_call": {
        "name": "string",
        "arguments": {}
      },
      "delivery": "tool_result",
      "title": "string",
      "fields": [
        {
          "name": "string",
          "label": "string",
          "description": "string",
          "required": false,
          "type": "password"
        }
      ],
      "status": "open",
      "requested_responder_type": "human",
      "response": {
        "response_id": "00000000-0000-0000-0000-000000000000",
        "values": {},
        "actor": {
          "type": "user",
          "id": "string"
        },
        "redacted_fields": [
          "string"
        ],
        "created_at": "2026-01-01T00:00:00Z"
      },
      "created_at": "2026-01-01T00:00:00Z",
      "expires_at": "2026-01-01T00:00:00Z",
      "resolved_at": "2026-01-01T00:00:00Z",
      "tool_call_id": "string",
      "conversation_id": "00000000-0000-0000-0000-000000000000",
      "description": "string",
      "metadata": {},
      "can_respond": false
    }
  }
}
```
