Baseten · Schema

FunctionCall

The name and arguments of a function that should be called, as generated by the model.

Artificial IntelligenceMLInferenceDeploymentMLOpsOpenAI-CompatibleAnthropic CompatibleTruss

Properties

Name Type Description
name string The name of the function to call.
arguments string The arguments to call the function with, as a JSON string.
View JSON Schema on GitHub

JSON Schema

baseten-functioncall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FunctionCall",
  "title": "FunctionCall",
  "additionalProperties": false,
  "properties": {
    "name": {
      "default": null,
      "title": "Name",
      "description": "The name of the function to call.",
      "type": "string"
    },
    "arguments": {
      "title": "Arguments",
      "type": "string",
      "description": "The arguments to call the function with, as a JSON string."
    }
  },
  "required": [
    "arguments"
  ],
  "type": "object",
  "description": "The name and arguments of a function that should be called, as generated by the model."
}