MCP connection registry and OpenAI-compatible tool adapter.
MCP connection registry and OpenAI-compatible tool adapter.
(get-tools)Return OpenAI-compatible function schemas generated from MCP tools.
Return OpenAI-compatible function schemas generated from MCP tools.
(get-tools-by-names tool-names)Return schemas whose exposed OpenAI function names are in tool-names.
Return schemas whose exposed OpenAI function names are in tool-names.
(handle-tool-call tool-call)Execute an OpenAI Chat Completions tool_call through its MCP route. Returns the standard tool-role message expected by the conversation.
Execute an OpenAI Chat Completions tool_call through its MCP route. Returns the standard tool-role message expected by the conversation.
(original-tool-name function-name)Resolve an exposed OpenAI function name to its original MCP tool name.
Resolve an exposed OpenAI function name to its original MCP tool name.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |