Skip to content

Conversation

@MyeongKim
Copy link
Contributor

Added a new function variant DefineToolWithInputSchema that allow defining tools with explicit JSON schema definitions instead of relying on struct reflection. This provides more flexible runtime input validation beyond Go struct reflection, which is ideal for tools requiring custom validation or adherence to external JSON Schema contracts.

Checklist (if applicable):

jcooky and others added 3 commits April 29, 2025 02:05
Added new function variants that allow defining tools with explicit JSON schema definitions instead of relying on struct reflection.
@apascal07
Copy link
Collaborator

Hi MJ, thank you for your contribution! The code looks good but let me consider how this may interact with other work we have in progress and I'll get back to you soon.

@apascal07 apascal07 merged commit 3af9a2f into firebase:main Jun 6, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants