Skip to content

Ensure MCP's jsonSchema is loaded before getAITools()#143

Open
benjamindrussell wants to merge 1 commit intocloudflare:mainfrom
benjamindrussell:main
Open

Ensure MCP's jsonSchema is loaded before getAITools()#143
benjamindrussell wants to merge 1 commit intocloudflare:mainfrom
benjamindrussell:main

Conversation

@benjamindrussell
Copy link

Frequently when attempting a tool call MCP's json schema is not loaded before getAITools() is called and it errors and does not make the tool call. This fixes it.

Error on server: Error: jsonSchema not initialized.
at MCPClientManager.getAITools
...

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.

1 participant