| mcp_tools_for_api | R Documentation |
Converts MCP tool definitions to the format used by Claude/OpenAI.
mcp_tools_for_api(conn)
conn |
An MCP connection, or list of connections. |
List of tools in API format.
## Not run:
conn <- mcp_connect(port = 7850)
tools <- mcp_tools_for_api(conn)
mcp_close(conn)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.