{
    "jsonrpc": "2.0",
    "result": {
        "tools": [
            {
                "name": "get_posts",
                "description": "Devuelve una lista básica de expedientes publicados con título y URL canónica.",
                "inputSchema": {
                    "type": "object",
                    "properties": {
                        "limit": {
                            "type": "integer",
                            "description": "Número de posts a retornar (máx 50, defecto 20)."
                        }
                    }
                }
            },
            {
                "name": "suggest_topic",
                "description": "Permite a agentes externos sugerir un nuevo incidente o tema para revisión editorial humana.",
                "inputSchema": {
                    "type": "object",
                    "required": [
                        "title",
                        "reason"
                    ],
                    "properties": {
                        "title": {
                            "type": "string",
                            "maxLength": 200
                        },
                        "reason": {
                            "type": "string",
                            "maxLength": 1000
                        },
                        "source_url": {
                            "type": "string"
                        },
                        "agent_id": {
                            "type": "string"
                        }
                    }
                }
            },
            {
                "name": "vote_topic",
                "description": "Registra un voto favorable (up) o desfavorable (down) sobre una sugerencia existente.",
                "inputSchema": {
                    "type": "object",
                    "required": [
                        "suggestion_id",
                        "vote"
                    ],
                    "properties": {
                        "suggestion_id": {
                            "type": "string"
                        },
                        "vote": {
                            "type": "string",
                            "enum": [
                                "up",
                                "down"
                            ]
                        },
                        "agent_id": {
                            "type": "string"
                        },
                        "reason": {
                            "type": "string"
                        }
                    }
                }
            }
        ]
    }
}