Strands Agents Typescript SDK
    Preparing search index...

    Interface StreamOptions

    Options interface for configuring streaming model invocation.

    interface StreamOptions {
        systemPrompt?: SystemPrompt;
        toolSpecs?: ToolSpec[];
        toolChoice?: ToolChoice;
    }
    Index

    Properties

    systemPrompt?: SystemPrompt

    System prompt to guide the model's behavior. Can be a simple string or an array of content blocks for advanced caching.

    toolSpecs?: ToolSpec[]

    Array of tool specifications that the model can use.

    toolChoice?: ToolChoice

    Controls how the model selects tools to use.