validate_llm_response
Validate and check LLM response format and content against expected schemas for prompt types like playlist descriptions, content recommendations, and media analysis.
Instructions
Validate LLM response format and content against expected schemas for different prompt types
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"response": "<response>",
"prompt_type": "<prompt_type>"
},
"name": "validate_llm_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | The LLM response object to validate | |
| prompt_type | Yes | The type of prompt that generated this response |