ToolCall.TypeSource.Param (ToolCall v0.4.0)

Copy Markdown

One parameter in a ToolCall.TypeSource.Declaration.

type is a ToolCall.TypeExpr with aliases, __MODULE__ references, and when bindings already resolved. source keeps that normalized typespec AST as provenance for @typedoc fallback descriptions.

Summary

Types

t()

@type t() :: %ToolCall.TypeSource.Param{
  name: atom() | nil,
  named?: boolean(),
  source: term(),
  type: ToolCall.TypeExpr.t()
}