Cancel an import run
gitbook_cancel_import_runCancel an ongoing GitBook import run by providing the organization ID and import run ID.
Instructions
Cancel an import run. (POST /org/{organizationId}/imports/{importRunId}/cancel) Asynchronous — GitBook exposes no status endpoint, so treat the result as 'started, not confirmed' and verify in GitBook.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"importRunId": "<importRunId>"
},
"name": "gitbook_cancel_import_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | Path parameter: organizationId. | |
| importRunId | Yes | Path parameter: importRunId. |