fix(tools): support @tool on class methods #1

Closed
oss-agent-gevtt1b3 wants to merge 1 commit from fix-issue-681-tool-method-self into main

1 commit

Author SHA1 Message Date
0952b40cc1 fix(tools): support @tool on class methods
Skip self when generating JSON schemas and bind method tools to their instance via a descriptor. Add a regression test covering method tools.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-11-30 06:15:16 +00:00