FastestMCP.Operation (fastest_mcp v0.1.2)

Copy Markdown View Source

Runtime operation struct passed through middleware and transforms.

This module keeps one focused piece of FastestMCP behavior in a dedicated place so builders, runtimes, transports, and providers can share the same rules without duplicating logic.

Unless you are extending FastestMCP itself, you will usually meet this module indirectly through higher-level APIs rather than calling it first.

Summary

Types

t()

@type t() :: %FastestMCP.Operation{
  arguments: map(),
  audience: atom(),
  call_supervisor: pid() | atom(),
  component: struct() | nil,
  component_type: atom(),
  context: FastestMCP.Context.t(),
  method: String.t(),
  server_name: String.t(),
  target: String.t() | nil,
  task_request: boolean(),
  task_store: pid() | atom() | nil,
  task_supervisor: pid() | atom() | nil,
  task_ttl_ms: pos_integer() | nil,
  transport: atom(),
  version: String.t() | nil
}