{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flamel-ai/json-schema/flamel-ai-tool-result-schema.json",
  "title": "ToolResult",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flamel-ai-openapi.json#/components/schemas/ToolResult",
  "type": "object",
  "required": [
    "content",
    "structuredContent",
    "isError"
  ],
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "text"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "text"
          },
          "text": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "structuredContent": {
      "type": "object",
      "description": "Tool-specific structured JSON output"
    },
    "isError": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}