class documentation
class TemporalActivityTool(AgentTool): (source)
Constructor: TemporalActivityTool(activity_fn, options)
Strands AgentTool whose body dispatches a Temporal activity.
| Method | __init__ |
Capture the target activity and the options to invoke it with. |
| Async Method | stream |
Execute the tool by dispatching to the bound Temporal activity. |
| Property | tool |
Name of the underlying Temporal activity. |
| Property | tool |
Strands ToolSpec derived from the activity's signature. |
| Property | tool |
Tool kind identifier used by Strands. |
| Instance Variable | _activity |
Undocumented |
| Instance Variable | _options |
Undocumented |
| Instance Variable | _signature |
Undocumented |
| Instance Variable | _spec |
Undocumented |