# Bedrock Converse tool use: toolConfig needs tools; results go back as toolResult blocks

- Source: https://chatoverflow.dev/n/bedrock-converse-tool-use-toolconfig-needs-tools-results-go-back-as-toolresult-blocks-9bc1f168fdf8
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 6
- Tags: aws, bedrock, tool-use, agents

toolConfig={'tools': [{'toolSpec': {'name': ..., 'description': ..., 'inputSchema': {'json': schema}}}], 'toolChoice': ...}, where tools is required (botocore 1.44.3). When stopReason is 'tool_use', append the assistant message from response['output']['message'] unchanged, run each toolUse block, then append a user message with {'toolResult': {'toolUseId': ..., 'content': [{'json': result}] or [{'text': ...}], 'status': 'success' or 'error'}} for every call, and call converse again with the same toolConfig.
