ModelToolResult
Normalized result of executing one model-requested tool.
Class Diagram
Section titled “Class Diagram”---
title: ModelToolResult
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class ModelToolResult {
+string requestId
+string name
+string outcome
+unknown output
+string errorKind
+dictionary metadata
}
Yaml Example
Section titled “Yaml Example”requestId: call_abc123name: get_weatherProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| requestId | string | Identifier of the corresponding model tool request |
| name | string | Name of the executed tool |
| outcome | string | Semantic outcome of the external tool effect |
| output | unknown | JSON-shaped tool output when available |
| errorKind | string | Stable error category for failed or indeterminate results |
| metadata | dictionary | Opaque host-specific tool result metadata |