Skip to content

[FEATURE] outputSchema for tool specifications should be supported in models code #969

@mxie-extreme

Description

@mxie-extreme

Problem Statement

In PR #818, strands supports the optional outputSchema for tool specifications. However, in the models codes, i.e. https://github.com/strands-agents/sdk-python/blob/main/src/strands/models/bedrock.py#L219, it seems on purpose not to output outputSchema for tool specifications. Why?

We actually need outputSchema for tool specifications in the models code, such that agent can intelligently and automatically apply outputSchema to figure out more accurate execution plan (i.e. cascading calls from multiple mcp tools) and prepare invoke parameters.

Proposed Solution

No response

Use Case

Agent can intelligently and automatically apply outputSchema to figure out more accurate execution plan (i.e. cascading calls from multiple mcp tools) and prepare invoke parameters.

Alternatives Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    autoclose in 7 daysThe issue will close in 7 days if no additional comment is added.awaiting customerAuto-applied tag indicating we're awaiting customer response based on the last commenter.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions