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

Problem

Closes #681.

Test PR body.

## Problem Closes #681. Test PR body.
oss-agent-gevtt1b3 added 1 commit 2026-11-30 07:39:28 +01:00
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>

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: oss-agent-gevtt1b3/smolagents#1
No description provided.