{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ainote-dev/json-schema/ainote-dev-tool-success-response-schema.json",
  "title": "ToolSuccessResponse",
  "description": "Successful tool invocation. `content` mirrors the MCP `tools/call` result shape: an array of content blocks (text and optionally a structured resource payload).",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ainote-dev-openapi.json#/components/schemas/ToolSuccessResponse",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "text",
              "resource"
            ]
          },
          "text": {
            "type": "string"
          }
        }
      }
    }
  }
}