ToolCall.Emit.Anthropic (ToolCall v0.1.0)

Copy Markdown

Anthropic tool definition (name / description / input_schema).

Anthropic returns tool_use.input already decoded, so it is subject to the provider's own JSON parser. Prefer wire: :string_integer for large integers; see docs/number-handling.md.

Summary

Functions

emit(tool, opts \\ [])

@spec emit(ToolCall.IR.Tool.t(), keyword()) :: map()