Skip to content

ToolCall ​

Type: object

FieldRequiredTypeDescription and constraints
created_atYesstringformat: "date-time"
idYesstringformat: "uuid"
inputYesany
nameYesstring
output_completenessYesstringenum: ["complete","truncated","unavailable","unknown"]
positionYesPosition / null
registered_sequenceYesstring
resultYesToolResult / null
run_idYesstringformat: "uuid"
session_idYesstringformat: "uuid"
statusYesstringenum: ["running","completed","failed","cancelled","unknown"]
truncation_reasonYesstring / null

JSON Schema ​

json
{
  "properties": {
    "created_at": {
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "title": "Id",
      "type": "string"
    },
    "input": {
      "title": "Input",
      "x-go-type": "json.RawMessage"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "output_completeness": {
      "enum": [
        "complete",
        "truncated",
        "unavailable",
        "unknown"
      ],
      "title": "Output Completeness",
      "type": "string"
    },
    "position": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/Position"
        },
        {
          "type": "null"
        }
      ]
    },
    "registered_sequence": {
      "title": "Registered Sequence",
      "type": "string"
    },
    "result": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ToolResult"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "run_id": {
      "format": "uuid",
      "title": "Run Id",
      "type": "string"
    },
    "session_id": {
      "format": "uuid",
      "title": "Session Id",
      "type": "string"
    },
    "status": {
      "enum": [
        "running",
        "completed",
        "failed",
        "cancelled",
        "unknown"
      ],
      "title": "Status",
      "type": "string"
    },
    "truncation_reason": {
      "anyOf": [
        {
          "enum": [
            "orpheus_limit",
            "harness_limit"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Truncation Reason"
    }
  },
  "required": [
    "id",
    "session_id",
    "run_id",
    "name",
    "input",
    "status",
    "result",
    "output_completeness",
    "truncation_reason",
    "registered_sequence",
    "position",
    "created_at"
  ],
  "title": "ToolCall",
  "type": "object"
}

All schemas · HTTP API