Helicone · Schema

ChatCompletionMessage.FunctionCall

AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management

Properties

Name Type Description
arguments string The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function
name string The name of the function to call.
View JSON Schema on GitHub

JSON Schema

helicone-chatcompletionmessagefunctioncall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionMessage.FunctionCall",
  "title": "ChatCompletionMessage.FunctionCall",
  "properties": {
    "arguments": {
      "type": "string",
      "description": "The arguments to call the function with, as generated by the model in JSON\nformat. Note that the model does not always generate valid JSON, and may\nhallucinate parameters not defined by your function schema. Validate the\narguments in your code before calling your function."
    },
    "name": {
      "type": "string",
      "description": "The name of the function to call."
    }
  },
  "required": [
    "arguments",
    "name"
  ],
  "type": "object",
  "additionalProperties": false,
  "deprecated": true
}