{ "request": { "method": "POST", "url": "__databricks__/serving-endpoints/v1/chat/completions", "headers": {}, "body": { "model": "databricks-meta-llama-3-3-70b-instruct", "messages": [ { "role": "user", "content": "What's the weather in Tokyo? Use the get_weather function to get the weather." } ], "stream": false, "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "Get the weather in a given city", "parameters": { "type": "object", "properties": { "city": { "type": "string", "description": "The city to get the weather for" } } } } } ] }, "endpoint": "/v1/chat/completions", "model": "databricks-meta-llama-3-3-70b-instruct" }, "response": { "body": { "__type__": "openai.types.chat.chat_completion.ChatCompletion", "__data__": { "id": "chatcmpl_e54eaa97-ace3-4af6-b3a2-b1627bc77488", "choices": [ { "finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": { "content": null, "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": [ { "id": "call_9c7f9e5f-c6eb-4c3c-a7b3-e9fe0e786b50", "function": { "arguments": "{ \"city\": \"Tokyo\" }", "name": "get_weather" }, "type": "function" } ] } } ], "created": 1758326507, "model": "meta-llama-3.3-70b-instruct-121024", "object": "chat.completion", "service_tier": null, "system_fingerprint": null, "usage": { "completion_tokens": 15, "prompt_tokens": 682, "total_tokens": 697, "completion_tokens_details": null, "prompt_tokens_details": null } } }, "is_streaming": false } }