Skip to content

docs: clarify MCP tools in chat API#1275

Merged
Classic298 merged 1 commit into
open-webui:devfrom
xuyua9:docs/mcp-tools-api-xuyua9
May 31, 2026
Merged

docs: clarify MCP tools in chat API#1275
Classic298 merged 1 commit into
open-webui:devfrom
xuyua9:docs/mcp-tools-api-xuyua9

Conversation

@xuyua9
Copy link
Copy Markdown
Contributor

@xuyua9 xuyua9 commented May 31, 2026

Summary

  • document that /api/chat/completions can resolve Open WebUI tool_ids
  • call out MCP tool server IDs (server:mcp:<server-id>) and access checks
  • clarify that caller-provided OpenAI-style tools arrays bypass server-side tool_ids resolution

Closes #645

Validation

  • git diff --check
  • static check for the new tool_ids / MCP documentation block
  • verified against open-webui backend origin/main paths: main.py stores tool_ids / tool_servers metadata and utils/middleware.py resolves server:mcp: tool IDs

@Classic298 Classic298 changed the base branch from main to dev May 31, 2026 21:54
@Classic298
Copy link
Copy Markdown
Collaborator

lgtm thanks

@Classic298 Classic298 merged commit aad8537 into open-webui:dev May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issue: (Docs) Cannot find in API documentation whether (or not) MCP tools can be enabled in API calls

2 participants