v54

OpenAPI 3.1.0raw.githubusercontent.com2026-08-038690315.6 KB
tool-settings

Update Tool Settings

Persist and apply tool/guardrail setting changes.

Uses model_fields_set so an explicit null clears a field while an omitted field is left unchanged. Master-key gated and standalone-only.

patch/v1/tool-settings

Request body

guardrails_urlstring nullable
sandbox_purpose_hintstring nullable
sandbox_urlstring nullable
web_search_enginesstring nullable
web_search_extractboolean nullable
web_search_max_resultsinteger nullable
web_search_purpose_hintstring nullable
web_search_urlstring nullable

Example request

{
  "web_search_max_results": 5,
  "web_search_url": "http://searxng:8080"
}

Response

Successful Response