{
  "description": "The outcome of a tool invocation.\n\nAttributes:\n    tool: The tool name.\n    ok: Whether the call succeeded.\n    output: Stringified output (fed back to the agent as an observation).\n    error: Error message when ``ok`` is ``False``.",
  "properties": {
    "tool": {
      "title": "Tool",
      "type": "string"
    },
    "ok": {
      "default": true,
      "title": "Ok",
      "type": "boolean"
    },
    "output": {
      "default": "",
      "title": "Output",
      "type": "string"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Error"
    }
  },
  "required": [
    "tool"
  ],
  "title": "ToolResult",
  "type": "object"
}
