Files
Matt Godbolt 695d764cc3 Fix /api/tools/:language endpoint missing name field (#8406)
## Summary
- Fixed the `/api/tools/:language` API endpoint to correctly return the
`name` field
- The `BaseTool` class stores tool properties in a nested `tool`
property, but the API handler was incorrectly accessing `name`,
`languageId`, and `stdinHint` directly on the class instance instead of
via `tool.tool.*`
- Added tests to verify the tools endpoint returns the expected fields

Fixes #8399

## Test plan
- [x] Added unit test that verifies `name` field is included in response
- [x] Added test for empty tools list
- [x] All existing tests pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 20:18:38 -05:00
..
2026-01-25 16:50:12 -05:00
2025-07-28 10:34:46 -05:00
2025-09-25 00:23:36 +03:00
2026-01-25 16:50:12 -05:00
2025-12-29 10:39:35 +01:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2026-01-25 16:50:12 -05:00
2025-07-28 10:34:46 -05:00
2026-01-25 16:50:12 -05:00
2025-02-25 13:05:50 -06:00
2025-07-28 10:34:46 -05:00