Skip to content

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

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

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

Conversation

@benjamindrussell
Copy link
Copy Markdown

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
...

@benjamindrussell benjamindrussell closed this by deleting the head repository Mar 10, 2026
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