Skip to content
Prompty

ModelToolRequest

A normalized tool request returned by a model provider.

Arguments remain JSON-shaped because providers may return a parsed object or a serialized JSON value before the host’s tool binding is selected.

---
title: ModelToolRequest
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ModelToolRequest {
        +string id
        +string name
        +unknown arguments
        +dictionary metadata
    }
id: call_abc123
name: get_weather
Name Type Description
id string Provider-stable tool request identifier
name string Name of the requested tool
arguments unknown Provider-normalized tool arguments
metadata dictionary Opaque provider-specific tool request metadata