Skip to content

Conversation

prabhuteja12
Copy link
Contributor

The documentation provided for the tool decorator has been updated to work with the version 1.8.0

Description

The existing documentation of the @tool decorator uses agent.my_tool. It has been updated to agent.tool.my_tool.

Type of Change

Documentation update

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

I haven't. This is a one line documentation change that I did on the web interface.

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The documentation provided for the tool decorator has been updated to work with the version 1.8.0
@prabhuteja12 prabhuteja12 changed the title Fixing documentation in decorator.py fix: Updating documentation in decorator.py Sep 12, 2025
@zastrowm zastrowm enabled auto-merge (squash) September 12, 2025 13:08
@Unshure
Copy link
Member

Unshure commented Sep 12, 2025

Looks like there was a small, unrelated, linting issue. Can you rebase so we can pass the lint test and merge?

@zastrowm zastrowm merged commit 69d3910 into strands-agents:main Sep 12, 2025
11 of 12 checks passed
@prabhuteja12 prabhuteja12 deleted the patch-1 branch September 12, 2025 21:22
This was referenced Sep 17, 2025
Unshure pushed a commit to Unshure/sdk-python that referenced this pull request Sep 24, 2025
The documentation provided for the tool decorator has been updated to work with the version 1.8.0
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.

3 participants