Skip to content

fix(ai): support empty tool parameters#6260

Merged
IMax153 merged 4 commits into
mainfrom
feat/ai-tool-empty-params
Jun 5, 2026
Merged

fix(ai): support empty tool parameters#6260
IMax153 merged 4 commits into
mainfrom
feat/ai-tool-empty-params

Conversation

@IMax153
Copy link
Copy Markdown
Member

@IMax153 IMax153 commented Jun 4, 2026

Summary

  • support Tool.EmptyParams as a tool parameters schema
  • update tool call response typing to derive params from Tool.Parameters
  • add tstyche coverage for AI tool parameter inference

Testing

  • pnpm test-types
  • pnpm lint-fix
  • pnpm test run packages/ai/ai/test/Tool.test.ts
  • pnpm check

@github-project-automation github-project-automation Bot moved this to Discussion Ongoing in PR Backlog Jun 4, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 4, 2026

🦋 Changeset detected

Latest commit: 3a976a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@effect/ai Minor
@effect/ai-amazon-bedrock Major
@effect/ai-anthropic Major
@effect/ai-google Major
@effect/ai-openai Major
@effect/ai-openrouter Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@IMax153 IMax153 merged commit 02ae8fb into main Jun 5, 2026
11 checks passed
@IMax153 IMax153 deleted the feat/ai-tool-empty-params branch June 5, 2026 13:14
@github-project-automation github-project-automation Bot moved this from Discussion Ongoing to Done in PR Backlog Jun 5, 2026
@github-actions github-actions Bot mentioned this pull request Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants