{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grafomem-com/json-schema/grafomem-com-register-tool-request-schema.json",
  "title": "RegisterToolRequest",
  "description": "Request body for POST /v1/llm/tools.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grafomem-com-llm-tools-api-openapi.yml#/components/schemas/RegisterToolRequest",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "tool_type": {
      "type": "string",
      "title": "Tool Type"
    },
    "input_schema": {
      "additionalProperties": true,
      "type": "object",
      "title": "Input Schema"
    },
    "config": {
      "additionalProperties": true,
      "type": "object",
      "title": "Config"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "default": true
    },
    "requires_governance": {
      "type": "boolean",
      "title": "Requires Governance",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "name",
    "description",
    "tool_type"
  ]
}