MCP tool
cancel
Cancel a running queryDestructive
Cancel a running query by its handle (res_…). The query stops at the source and its handle ends as cancelled: there is no result to page or download, and getting the data means running the query again. A finished, failed or already cancelled handle is left as it is.
Parameters
handlestringrequired- Handle (res_…) of the running query to cancel.
Input schema (JSON)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"handle": {
"description": "Handle (res_…) of the running query to cancel.",
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
}