{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/octoprint/json-schema/octoprint-post-api-printer-tool-request-schema.json",
  "title": "PostApiPrinterToolRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/octoprint-openapi-generated.yml#/components/schemas/PostApiPrinterToolRequest",
  "type": "object",
  "properties": {
    "command": {
      "type": "string",
      "description": "The command to issue, either target, offset, select, extrude or flowrate."
    },
    "targets": {
      "type": "object",
      "description": "target command: The target temperatures to set. Valid properties have to match the format tool{n}."
    },
    "offsets": {
      "type": "object",
      "description": "offset command: The offset temperature to set. Valid properties have to match the format tool{n}."
    },
    "tool": {
      "type": "object",
      "description": "select command: The tool to select, value has to match the format tool{n}."
    },
    "amount": {
      "type": "object",
      "description": "extrude command: The amount of filament to extrude from the currently selected tool."
    },
    "factor": {
      "type": "number",
      "description": "flowrate command: The factor to apply to the flow rate, percentage between 75 and 125% as integer or float."
    }
  },
  "required": [
    "command"
  ]
}