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.
Class Diagram
Section titled “Class Diagram”---
title: ModelToolRequest
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class ModelToolRequest {
+string id
+string name
+unknown arguments
+dictionary metadata
}
Yaml Example
Section titled “Yaml Example”id: call_abc123name: get_weatherProperties
Section titled “Properties”| 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 |