PtcLlmHttp.ToolCall (PtcLlmHttp v0.1.0)

Copy Markdown View Source

One normalized function-tool call returned by a provider.

The identifier, function name, and decoded arguments are available only through explicit accessors. Inspection never exposes them.

Summary

Functions

Returns the bounded, decoded argument object.

Returns the provider tool-call identifier.

Returns the declared function name.

Types

t()

@opaque t()

Functions

arguments(tool_call)

@spec arguments(t()) :: map()

Returns the bounded, decoded argument object.

id(tool_call)

@spec id(t()) :: binary()

Returns the provider tool-call identifier.

name(tool_call)

@spec name(t()) :: binary()

Returns the declared function name.