These errors surface from the task-augmented tool invocation system (per the MCP 2025-11-25 task-support protocol). All inherit fromDocumentation Index
Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt
Use this file to discover all available pages before exploring further.
PublicMcpError (safe to surface to clients) except TaskStoreNotInitializedError.
Reference
| Class | Inherits | JSON-RPC Code | When |
|---|---|---|---|
TaskNotFoundError | PublicMcpError | -32602 | tasks/get, tasks/cancel, or tasks/result referenced an unknown task ID |
TaskAlreadyTerminalError | PublicMcpError | -32602 | tasks/cancel invoked on a task already in succeeded/failed/cancelled |
TaskAugmentationNotSupportedError | PublicMcpError | -32601 | Client invoked tools/call with task augmentation on a tool that opts out |
TaskAugmentationRequiredError | PublicMcpError | -32601 | Tool declared taskSupport: 'required' but client did not request a task |
TaskStoreNotInitializedError | InternalMcpError | — | Internal: task store provider not registered when task subsystem is required |
Usage
Related
- Tasks — opt a tool into task augmentation
- Errors Overview