1 Data sources tool_server_verify
Forgejo Actions edited this page 2026-11-26 06:34:52 +00:00

openwebui_tool_server_verify (Data Source)

Verifies that an external tool server is reachable and returns a valid OpenAPI spec.

Example Usage

data "openwebui_tool_server_verify" "local_tools" {
  url  = "http://tools.internal:8080"
  path = "/openapi.json"
}

Schema

Required

  • path (String) Path to the OpenAPI spec endpoint, e.g. /openapi.json.
  • url (String) Base URL of the tool server to verify.

Optional

  • auth_type (String) Authentication type for the tool server, e.g. bearer.
  • config_json (String) Additional JSON configuration for the verification request.
  • headers_json (String) JSON object of additional HTTP headers to send. e.g. jsonencode({ X-Api-Version = "2" }).
  • key (String, Sensitive) API key or bearer token. Sensitive.
  • type (String) Kind of server Open WebUI verifies this as, openapi or mcp. The value is sent with the request, not read back from the server.

Read-Only

  • verified (Boolean) Always true. The read fails with an error when the server does not answer with a valid spec, so this attribute never reads false.