ChatGPT · Arazzo Workflow
ChatGPT Chat Completion With Tool Calling
Version 1.0.0
Run a chat completion offering a function tool and resolve the tool call.
View Spec
View on GitHub
AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtimeArazzoWorkflows
Provider
Workflows
chat-completion-tool-call
Offer a function tool to a chat completion and resolve the tool call loop.
Creates a chat completion with a function tool, branches on finish_reason, and when a tool call is returned sends a follow-up completion that supplies the tool result so the model can produce its final response.
1
createCompletion
createChatCompletion
Create a chat completion that offers a single function tool and lets the model decide whether to call it.
2
resolveToolCall
createChatCompletion
Send a follow-up completion that replays the assistant tool call and supplies the tool result as a tool-role message so the model can answer.