{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "thoughts": {
            "type": "object",
            "properties": {
                "text": {"type": "string"},
                "reasoning": {"type": "string"},
                "plan": {"type": "string"},
                "criticism": {"type": "string"},
                "speak": {"type": "string"}
            },
            "required": [],
            "additionalProperties": false
        },
        "function": {
            "type": "object",
            "properties": {
                "name": {"type": "string"},
                "args": {
                    "type": "object"
                }
            },
            "required": ["name"],
            "additionalProperties": false
        }
    },
    "required": ["thoughts", "function"],
    "additionalProperties": false
}
