Tool Message

Tool messages are used to describe agent-tool usage events within the context of a conversation. Typically a user will prompt an agent who will decide which tool name to use (if any), an optional input and an optional Chain-of-Thought thought.

After running the tool an additional observation is generated.

Example:

{
   "type": "tool"
   "name": "football_api_tool",
   "thought": "I should check what time the football club is open today using football_api_tool",
   "input": {"event": "opening_hours", "filter": "day_of_week=Tuesday"},
   "observation": "0800-1600",
   "event_timestamp": "2020-02-20T20:20:23Z"
}

Last updated