{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "minLength": 1,
      "x-tiwater-file-role": "read"
    },
    "returnContent": {
      "type": "boolean",
      "description": "Whether to return the bounded object page directly in the tool response. May be combined with output."
    },
    "kinds": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "paragraph",
          "table",
          "gridColumn",
          "row",
          "cell",
          "run",
          "text",
          "drawing"
        ]
      },
      "description": "OpenXML object kinds to list in document order."
    },
    "scope": {
      "type": "string",
      "minLength": 1,
      "description": "Optional OpenXML part URI."
    },
    "parent": {
      "type": "object",
      "properties": {
        "part": {
          "type": "string",
          "minLength": 1,
          "pattern": "^\\/"
        },
        "path": {
          "type": "string",
          "pattern": "^\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\](?:\\/[A-Za-z_][A-Za-z0-9_.-]*:[A-Za-z_][A-Za-z0-9_.-]*\\[[1-9][0-9]*\\])*$"
        }
      },
      "required": [
        "part",
        "path"
      ],
      "additionalProperties": false,
      "description": "Optional parent OpenXML address. Only nearest published children are returned."
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "output": {
      "type": "string",
      "minLength": 1,
      "description": "Optional path for retaining the complete requested page. May be combined with returnContent.",
      "x-tiwater-file-role": "write",
      "x-tiwater-file-effect": false
    }
  },
  "required": [
    "input",
    "kinds",
    "returnContent"
  ],
  "additionalProperties": false,
  "$id": "tiwater.office-mcp-input/docx_list_objects/v1"
}
