{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lnx-net/json-schema/lnx-net-post-api-agent-tools-request-schema.json",
  "title": "PostApiAgentToolsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lnx-net-openapi-generated.yml#/components/schemas/PostApiAgentToolsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The function name"
    },
    "endpoint": {
      "type": "string",
      "description": "The URL to call when invoking this tool"
    },
    "description": {
      "type": "string",
      "description": "What this tool does"
    },
    "method": {
      "type": "string",
      "description": "HTTP method: GET, POST, PUT, DELETE, PATCH. Default: POST"
    },
    "inputSchema": {
      "type": "object",
      "description": "JSON Schema defining the expected input parameters"
    },
    "outputSchema": {
      "type": "object",
      "description": "JSON Schema defining the response format"
    },
    "is_function": {
      "type": "boolean",
      "description": "Set to false to add a regular link instead. Default: true"
    },
    "socialPlatform": {
      "type": "string",
      "description": "Icon platform: globe, github, twitter, etc."
    }
  },
  "required": [
    "name",
    "endpoint"
  ]
}