Skip to main content
Glama

MCPlanManager

failTask

Mark specified tasks as failed within MCPlanManager (MCP server), providing error details and optional retry configuration for efficient task management.

Instructions

将指定ID的任务标记为 'failed' (失败)。

Args: task_id (int): 需要标记为失败的任务的ID (从0开始)。 error_message (str): 描述任务失败原因的字符串。 should_retry (bool, optional): 是否应该重试该任务的标志。默认为 True。

Input Schema

NameRequiredDescriptionDefault
error_messageYes
should_retryNo
task_idYes

Input Schema (JSON Schema)

{ "properties": { "error_message": { "title": "Error Message", "type": "string" }, "should_retry": { "default": true, "title": "Should Retry", "type": "boolean" }, "task_id": { "title": "Task Id", "type": "integer" } }, "required": [ "task_id", "error_message" ], "type": "object" }

Other Tools from MCPlanManager

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/donway19/MCPlanManager'

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