FastestMCP.Client.ToolResultRequest (fastest_mcp v0.3.2)

Copy Markdown View Source

Opaque handle for one terminal tool-result call.

Unlike a low-level request handle, this handle remains valid when the peer upgrades tools/call into a remote task.

Summary

Functions

Waits for the terminal tool result.

Cancels the pending request or its task-augmented continuation.

Types

t()

@type t() :: %FastestMCP.Client.ToolResultRequest{
  owner: pid(),
  pid: pid(),
  ref: reference()
}

Functions

await(request, timeout \\ :infinity)

Waits for the terminal tool result.

cancel(request, reason \\ nil)

Cancels the pending request or its task-augmented continuation.