Skip to content

fix: blast_radius schema — enforce minProperties:1 to match handler (#429)#434

Open
yxlyx wants to merge 1 commit intomainfrom
fix/429-blast-radius-schema
Open

fix: blast_radius schema — enforce minProperties:1 to match handler (#429)#434
yxlyx wants to merge 1 commit intomainfrom
fix/429-blast-radius-schema

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Apr 10, 2026

Summary

  • Adds "minProperties":1 to the blast_radius input schema
  • Updates description to say "Provide at least one of file or symbol"
  • Aligns schema with handler which rejects {} with "provide at least one of: file, symbol"
  • Audited all other tools with required:[] — they are all correct (genuinely optional params)

Test plan

  • zig ast-check src/tools.zig passes
  • All other tool schemas with required:[] verified to be correctly optional
  • Handler logic unchanged

Fixes #429

Made with Cursor

…r validation

The handler rejects empty args with "provide at least one of: file, symbol"
but the schema allowed empty objects. Now aligned.

Fixes #429

Made-with: Cursor
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.

bug: blast_radius tool schema allows empty args but handler rejects them

1 participant