Skip to content

Support nested parameters for tools #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tpaulshippy
Copy link
Contributor

@tpaulshippy tpaulshippy commented Apr 14, 2025

Purpose

Support calling tools that take arrays or nested objects.

Approach

Simply define the items and properties as part of the Parameter class. Output hashes.

Related to #76 (although I didn't actually test enums). I realize this probably doesn't align perfectly with #65 or #90 but I kinda need this now and this seems to be the simplest approach.

Testing

Tested with Bedrock, Gemini, and OpenAI - I do not currently have ready access to Anthropic or Deepseek.

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