curl --request POST \
--url https://api.orcarouter.ai/v1/responses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "gpt-4.1",
"input": "<string>",
"instructions": "<string>",
"tools": [
{
"type": "function",
"function": {
"name": "<string>",
"description": "<string>",
"parameters": {},
"strict": true
}
}
],
"tool_choice": "<string>",
"temperature": 123,
"top_p": 123,
"max_output_tokens": 123,
"stream": true,
"reasoning": {
"effort": "low"
},
"metadata": {}
}
'