Strands Agents Typescript SDK
    Preparing search index...

    Interface ToolUse

    Represents a tool usage request from the model. The model generates this when it wants to use a tool.

    interface ToolUse {
        name: string;
        toolUseId: string;
        input: JSONValue;
    }
    Index

    Properties

    Properties

    name: string

    The name of the tool to execute.

    toolUseId: string

    Unique identifier for this tool use instance. Used to match tool results back to their requests.

    input: JSONValue

    The input parameters for the tool. Must be JSON-serializable.