Skip to content

ToolCallStartPayload

Payload for “tool_call_start” events — the LLM has requested a tool call.

---
title: ToolCallStartPayload
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ToolCallStartPayload {
        +string name
        +string arguments
    }
name: get_weather
arguments: '{"city": "Paris"}'
NameTypeDescription
namestringThe name of the tool being called
argumentsstringThe serialized JSON arguments for the tool call