Chat Completions
post_chat_completionsCreates a model response for the given chat conversation Billing per call: Credits: metered.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "post_chat_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body. Example: {"model":"GPT-5","stream":false,"messages":[{"role":"user","content":"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?"}]} |