This repository was archived by the owner on Jun 3, 2026. It is now read-only.
Repository navigation
docs(hooks): document exception property on AfterToolCallEvent - #482
Merged
Merged
Conversation
charles-dyfis-net
had a problem deploying
to
manual-approval
January 26, 2026 23:47 — with
GitHub Actions
Failure
4 of 7 tasks
ryanycoleman
force-pushed
the
pysdk-issue-1565
branch
from
March 20, 2026 04:04
5acc18f to
70d2b8a
Compare
ryanycoleman
temporarily deployed
to
manual-approval
March 20, 2026 04:05 — with
GitHub Actions
Inactive
ryanycoleman
temporarily deployed
to
manual-approval
March 20, 2026 04:05 — with
GitHub Actions
Inactive
Contributor
Documentation Preview ReadyYour documentation preview has been successfully deployed! Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-482/docs/user-guide/quickstart/overview/ Updated at: 2026-03-20T13:58:45.351Z |
Contributor
|
Assessment: Comment Good documentation addition that clearly explains the Review Details
Thanks for adding this documentation! The exception handling use case is valuable for users implementing robust error handling in their agents. |
zastrowm
approved these changes
Mar 20, 2026
zastrowm
enabled auto-merge (squash)
March 20, 2026 21:24
notowen333
pushed a commit
to notowen333/docs
that referenced
this pull request
Mar 27, 2026
…ds-agents#482) Co-authored-by: Charles Duffy <charles-dyfis-net@users.noreply.github.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the
exceptionproperty onAfterToolCallEvent, which provides access to the original exception when a tool raises an error. This enables hooks to distinguish between expected errors (which the model should retry) and unexpected errors (which should fail immediately).Changes:
exceptionto the AfterToolCallEvent properties list in the Event Properties sectionPropagateUnexpectedExceptionsexample hookRelated Issues
strands-agents/harness-sdk#1565
Type of Change
Checklist
mkdocs serveBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.