MCP
MCP Tasks Tutorial: Run Long-Running Tools Asynchronously with Polling and Approval
Build MCP Tasks for slow tools: return a task handle, poll tasks/get for progress, answer input_required approval, and fetch the result without blocking.
Build MCP Tasks for slow tools: return a task handle, poll tasks/get for progress, answer input_required approval, and fetch the result without blocking.