Claude · Arazzo Workflow
Claude Tool Use Round Trip
Version 1.0.0
Offer the model a tool, capture its tool_use request, then return a tool_result for a final answer.
View Spec
View on GitHub
Artificial IntelligenceChatbotConversational AIGenerative AILarge Language ModelsMachine LearningNatural Language ProcessingArazzoWorkflows
Provider
Workflows
tool-use-round-trip
Drive a single tool-use cycle from tool_use request to grounded final answer.
Sends a prompt with a tool definition, captures the model's tool_use id and name, then returns a tool_result so the model can answer using the tool output.
1
requestToolUse
createMessage
Send the prompt with a tool definition and force tool use, capturing the tool_use block id and name from the model's response.
2
returnToolResult
createMessage
Replay the conversation and supply the tool output as a tool_result block keyed to the captured tool_use id so the model can produce a final answer.