Commit 079a542
fix: preserve transform_js and rate_limit on http_client tools (#563)
* fix: handle SIGUSR2 reloads in runner mode
* fix: preserve transform_js and rate_limit on http_client tools from ai_mcp_servers
When http_client tools were extracted from ai_mcp_servers config, the
CustomToolDefinition was constructed with only a subset of fields, dropping
transform_js and rate_limit. This meant the MCP server's transform_js
application code never fired because tool.transform_js was always undefined.
This caused disqualified candidates to appear in Workable API list responses
despite the workable-api tool having a transform_js filter configured.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent c124b34 commit 079a542
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
1510 | 1517 | | |
1511 | 1518 | | |
1512 | 1519 | | |
| |||
0 commit comments