ExMCP.Client.Operations.Tasks (ex_mcp v1.0.0-rc.8)

Copy Markdown View Source

Client operations for legacy tasks and the modern Tasks extension.

tasks/get and tasks/cancel are available in both task eras. The modern tasks/update method is used to satisfy outstanding inputRequests. Modern requests are accepted only when the client configured the io.modelcontextprotocol/tasks extension capability.

Summary

Functions

Requests cooperative cancellation of one task.

Reads the full current state of one task.

Submits responses to a modern task's outstanding input requests.

Functions

cancel(client, task_id, opts \\ [])

Requests cooperative cancellation of one task.

get(client, task_id, opts \\ [])

Reads the full current state of one task.

update(client, task_id, input_responses, opts \\ [])

Submits responses to a modern task's outstanding input requests.