Liking cljdoc? Tell your friends :D

ajent.tools

MCP connection registry and OpenAI-compatible tool adapter.

MCP connection registry and OpenAI-compatible tool adapter.
raw docstring

close-connections!clj

(close-connections!)
source

get-toolsclj

(get-tools)

Return OpenAI-compatible function schemas generated from MCP tools.

Return OpenAI-compatible function schemas generated from MCP tools.
sourceraw docstring

get-tools-by-namesclj

(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.
sourceraw docstring

handle-tool-callclj

(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.
sourceraw docstring

original-tool-nameclj

(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.
sourceraw docstring

refresh-registry!clj

(refresh-registry!)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close