McpFailedTask
Defined in: src/mcp/task-types.ts:80
Task whose underlying request failed with a JSON-RPC error.
Extends
Section titled “Extends”Properties
Section titled “Properties”taskId
Section titled “taskId”taskId: string;Defined in: src/mcp/task-types.ts:19
Stable server-generated task identifier.
Inherited from
Section titled “Inherited from”statusMessage?
Section titled “statusMessage?”optional statusMessage?: string;Defined in: src/mcp/task-types.ts:21
Inherited from
Section titled “Inherited from”createdAt
Section titled “createdAt”createdAt: string;Defined in: src/mcp/task-types.ts:23
ISO 8601 timestamp at which the task was created.
Inherited from
Section titled “Inherited from”lastUpdatedAt
Section titled “lastUpdatedAt”lastUpdatedAt: string;Defined in: src/mcp/task-types.ts:25
ISO 8601 timestamp at which the task was last updated.
Inherited from
Section titled “Inherited from”ttlMs: number;Defined in: src/mcp/task-types.ts:27
Retention duration from creation in milliseconds, or null for unlimited retention.
Inherited from
Section titled “Inherited from”pollIntervalMs?
Section titled “pollIntervalMs?”optional pollIntervalMs?: number;Defined in: src/mcp/task-types.ts:29
Server-suggested polling interval in milliseconds.
Inherited from
Section titled “Inherited from”status
Section titled “status”status: "failed";Defined in: src/mcp/task-types.ts:81
Overrides
Section titled “Overrides”error: McpTaskError;Defined in: src/mcp/task-types.ts:83
JSON-RPC error that caused the task to fail.