Skip to content
Prompty

ToolCall

A tool call requested by the LLM. Contains the function name and serialized arguments that should be dispatched to the appropriate tool handler.

---
title: ToolCall
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ToolCall {
        +string id
        +string name
        +string arguments
    }
id: call_abc123
name: get_weather
arguments: '{"city": "Paris"}'
Name Type Description
id string The unique identifier of the tool call
name string The name of the tool to call
arguments string The serialized JSON arguments for the tool call