Skip to main content
Glama

MCP Task

by just-every

cancel_task

Stop a pending or running AI task by its ID or cancel all tasks in a batch using the batch ID. Manage workflows efficiently with MCP Task server's task cancellation feature.

Instructions

Cancel a pending or running task, or all tasks in a batch.

Input Schema

NameRequiredDescriptionDefault
batch_idNoCancel all tasks with this batch ID (required if task_id not provided)
task_idNoThe task ID to cancel (required if batch_id not provided)

Input Schema (JSON Schema)

{ "properties": { "batch_id": { "description": "Cancel all tasks with this batch ID (required if task_id not provided)", "type": "string" }, "task_id": { "description": "The task ID to cancel (required if batch_id not provided)", "type": "string" } }, "required": [], "type": "object" }

Other Tools from MCP Task

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/just-every/mcp-task'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server