Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::ToolCall Struct Reference

A tool call request parsed from model output. More...

#include <entropic/types/tool_call.h>

Public Attributes

std::string id
 Unique call ID (UUID)
 
std::string name
 Tool name (e.g. "filesystem.read_file")
 
std::unordered_map< std::string, std::string > arguments
 Tool arguments as string key-value pairs.
 
std::string arguments_json
 Original JSON string (for passthrough dispatch)
 

Detailed Description

A tool call request parsed from model output.

Maps to Python ToolCall dataclass. The adapter parses these from model output content (XML or JSON format depending on adapter).

Arguments are stored as string key-value pairs at this level. JSON-typed values are stored as their JSON string representation.

Version
1.8.2

Definition at line 31 of file tool_call.h.

Member Data Documentation

◆ arguments

std::unordered_map<std::string, std::string> entropic::ToolCall::arguments

Tool arguments as string key-value pairs.

Definition at line 34 of file tool_call.h.

◆ arguments_json

std::string entropic::ToolCall::arguments_json

Original JSON string (for passthrough dispatch)

Definition at line 35 of file tool_call.h.

◆ id

std::string entropic::ToolCall::id

Unique call ID (UUID)

Definition at line 32 of file tool_call.h.

◆ name

std::string entropic::ToolCall::name

Tool name (e.g. "filesystem.read_file")

Definition at line 33 of file tool_call.h.


The documentation for this struct was generated from the following file: