Chat with Tool Calling

Chat with Tool Calling

post

The Infron supports OpenAI-compatible function calling, allowing models to call tools and functions. This follows the same specification as the OpenAI Function Calling API.

Header parameters
AuthorizationstringRequiredExample: sk-lZxz
Body
modelstringRequired
tool_choicestring · enumOptionalExample: autoPossible values:
streambooleanOptional
Responses
chevron-right
200Success
application/json
idstringRequired
modelstringRequired
objectstringRequired
createdintegerRequired
request_idstringRequired
post
/v1/chat/completions
200Success

Last updated