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

Lightweight record of a recent tool call for introspection. More...

#include <entropic/mcp/tool_call_history.h>

Public Attributes

size_t sequence
 Monotonic sequence number.
 
std::string tool_name
 Fully-qualified tool name.
 
std::string params_summary
 Top-level param keys only.
 
std::string status
 "success", "error", "timeout"
 
std::string result_summary
 First 200 chars of result.
 
double elapsed_ms
 Execution time in milliseconds.
 
std::string error_detail
 Error message if status != "success".
 
int iteration
 Loop iteration when called.
 

Detailed Description

Lightweight record of a recent tool call for introspection.

Stored in ToolCallHistory ring buffer. params_summary contains only top-level JSON keys (no large values). result_summary is truncated to 200 characters.

Version
1.9.12

Definition at line 35 of file tool_call_history.h.

Member Data Documentation

◆ elapsed_ms

double entropic::ToolCallRecord::elapsed_ms

Execution time in milliseconds.

Definition at line 41 of file tool_call_history.h.

◆ error_detail

std::string entropic::ToolCallRecord::error_detail

Error message if status != "success".

Definition at line 42 of file tool_call_history.h.

◆ iteration

int entropic::ToolCallRecord::iteration

Loop iteration when called.

Definition at line 43 of file tool_call_history.h.

◆ params_summary

std::string entropic::ToolCallRecord::params_summary

Top-level param keys only.

Definition at line 38 of file tool_call_history.h.

◆ result_summary

std::string entropic::ToolCallRecord::result_summary

First 200 chars of result.

Definition at line 40 of file tool_call_history.h.

◆ sequence

size_t entropic::ToolCallRecord::sequence

Monotonic sequence number.

Definition at line 36 of file tool_call_history.h.

◆ status

std::string entropic::ToolCallRecord::status

"success", "error", "timeout"

Definition at line 39 of file tool_call_history.h.

◆ tool_name

std::string entropic::ToolCallRecord::tool_name

Fully-qualified tool name.

Definition at line 37 of file tool_call_history.h.


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