|
Entropic 2.3.8
Local-first agentic inference engine
|
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. | |
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.
Definition at line 35 of file tool_call_history.h.
| double entropic::ToolCallRecord::elapsed_ms |
Execution time in milliseconds.
Definition at line 41 of file tool_call_history.h.
| std::string entropic::ToolCallRecord::error_detail |
Error message if status != "success".
Definition at line 42 of file tool_call_history.h.
| int entropic::ToolCallRecord::iteration |
Loop iteration when called.
Definition at line 43 of file tool_call_history.h.
| std::string entropic::ToolCallRecord::params_summary |
Top-level param keys only.
Definition at line 38 of file tool_call_history.h.
| std::string entropic::ToolCallRecord::result_summary |
First 200 chars of result.
Definition at line 40 of file tool_call_history.h.
| size_t entropic::ToolCallRecord::sequence |
Monotonic sequence number.
Definition at line 36 of file tool_call_history.h.
| std::string entropic::ToolCallRecord::status |
"success", "error", "timeout"
Definition at line 39 of file tool_call_history.h.
| std::string entropic::ToolCallRecord::tool_name |
Fully-qualified tool name.
Definition at line 37 of file tool_call_history.h.