sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

[FEATURE] Make strands.vended_tools configurable (timeout, etc)

Open badboycoming opened this issue 4 months ago • 3 comments

SDK Language

Python

Problem Statement

strands.vended_tools.bash has default timeout 120s, suggest making it configurable due to some bash command really need more time to finish

Proposed Solution

No response

Use Case

long time bash command

Alternatives Solutions

No response

Additional Context

No response

badboycoming avatar Jul 12 '26 06:07 badboycoming

Hi, I checked this against current main. The bash tool supports a per-call timeout, but make_bash() always exposes 120 seconds as its default. Callers therefore cannot set a longer timeout policy when constructing the tool and must rely on the model to override it on every invocation.

I'd like to add a default_timeout factory option while preserving the existing per-call override, update the API documentation, and add regression tests for both the configured default and an explicit invocation override.

gyx09212214-prog avatar Jul 15 '26 17:07 gyx09212214-prog

Renamed this issue to capture the generic customizability case across vended tools

notowen333 avatar Jul 16 '26 15:07 notowen333

The bash tool was superceded by the shell tool, which has a configurable timeout.

liramon2 avatar Oct 06 '26 14:10 liramon2