{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"model": {
"type": "string",
"default": "gpt-4.1",
"description": "Model to use (e.g., gpt-5.2, gpt-5.1, gpt-5, gpt-4.1, gpt-4.1-mini)"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant",
"tool"
],
"description": "Message role"
},
"content": {
"type": "string",
"description": "Message content"
}
}
},
"description": "Array of conversation messages"
},
"temperature": {
"type": "number",
"default": 1,
"description": "Sampling temperature (0-2)"
},
"maxTokens": {
"type": "number",
"description": "Maximum tokens to generate"
},
"topP": {
"type": "number",
"description": "Nucleus sampling parameter"
},
"tools": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Tools available to the model"
},
"toolChoice": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
}
],
"description": "Tool choice configuration"
},
"responseFormat": {
"type": "object",
"additionalProperties": true,
"description": "Response format specification"
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Custom metadata for the response"
}
},
"required": [
"PCID",
"messages"
]
}