{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Prompt2025VersionPromptBody", "title": "Prompt2025VersionPromptBody", "properties": { "model": { "type": "string" }, "messages": { "items": { "properties": { "tool_calls": { "items": { "properties": { "type": { "type": "string", "enum": [ "function" ], "nullable": false }, "function": { "properties": { "arguments": { "type": "string" }, "name": { "type": "string" } }, "required": [ "arguments", "name" ], "type": "object" }, "id": { "type": "string" } }, "required": [ "type", "function", "id" ], "type": "object" }, "type": "array" }, "tool_call_id": { "type": "string" }, "name": { "type": "string" }, "content": { "anyOf": [ { "type": "string" }, { "items": { "properties": { "image_url": { "properties": { "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }, "text": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" } ], "nullable": true }, "role": { "type": "string" } }, "required": [ "content", "role" ], "type": "object" }, "type": "array" }, "temperature": { "type": "number", "format": "double" }, "top_p": { "type": "number", "format": "double" }, "max_tokens": { "type": "number", "format": "double" }, "tools": { "items": { "properties": { "function": { "properties": { "parameters": { "$ref": "#/components/schemas/Record_string.unknown_" }, "description": { "type": "string" }, "name": { "type": "string" } }, "required": [ "parameters", "description", "name" ], "type": "object" }, "type": { "type": "string", "enum": [ "function" ], "nullable": false } }, "required": [ "function", "type" ], "type": "object" }, "type": "array" }, "tool_choice": { "anyOf": [ { "type": "string" }, { "properties": { "function": { "properties": { "name": { "type": "string" }, "type": { "type": "string", "enum": [ "function" ], "nullable": false } }, "required": [ "name", "type" ], "type": "object" }, "type": { "type": "string" } }, "required": [ "type" ], "type": "object" } ] } }, "type": "object", "additionalProperties": {} }