OpenAI-compatible function-tool conversion and MCP tool-call execution.
OpenAI-compatible function-tool conversion and MCP tool-call execution.
(execute-tool-call routes tool-call)Execute one OpenAI Chat Completions-style tool_call via its MCP route. Returns a standard tool-role message with the original tool_call_id.
Execute one OpenAI Chat Completions-style tool_call via its MCP route. Returns a standard tool-role message with the original tool_call_id.
(execute-tool-calls routes assistant-message)Execute an assistant message's tool_calls concurrently and preserve their original order and tool_call_id values.
Execute an assistant message's tool_calls concurrently and preserve their original order and tool_call_id values.
(tools connections)Convert {server-name connection} into {:tools [...] :routes {...}}. Prefixes function names with a stable server/tool identifier so tools from separate MCP servers cannot collide.
Convert {server-name connection} into {:tools [...] :routes {...}}.
Prefixes function names with a stable server/tool identifier so tools
from separate MCP servers cannot collide.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 |