Skip to main content

Module tasks

Module tasks 

Source
Expand description

Production runtime for the MCP Tasks extension.

Structs§

TaskContext
Context supplied to a task tool. It supports cooperative cancellation and task-native multi-round input without leaking requestState into Tasks.

Traits§

ComposedTaskToolHandler
Application handler for the durable phase of a tool that first completes an MCP multi-round input exchange and then escalates to a Task.
TaskToolHandler
Application handler for a tool that executes as a durable MCP task.