Tama.Dex.Call (tama_dex v0.1.0)

Copy Markdown View Source

A validated call handed to a Tama.Dex.Executor.

  • cassette, source and operation_id name the operation.
  • scopes are exactly the verified scopes tama-dex checked, in the order the caller gave them, so the executor re-checks what tama-dex saw.
  • context is the host term passed to Tama.Dex.execute/5 (for the MCP handlers, the caller).
  • opts are the options given at registration, [] for a bare module.

Summary

Types

t()

@type t() :: %Tama.Dex.Call{
  cassette: String.t(),
  context: term(),
  operation_id: String.t(),
  opts: keyword(),
  scopes: [String.t()],
  source: String.t()
}