Skip to content
Prompty

ModelToolResult

Normalized result of executing one model-requested tool.

---
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
    }
requestId: call_abc123
name: get_weather
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