listar_assembleias
Consulta o calendário autorizado, com paginação e filtros.
Escopo: assembleias.read
| Parâmetro | Tipo | Uso | Regras |
|---|---|---|---|
| pagina | integer | opcional | mín. 0 · máx. 10000 · padrão 0 |
| limite | integer | opcional | mín. 1 · máx. 100 · padrão 25 |
| condominio_id | uuid | opcional | — |
| inicio | data (AAAA-MM-DD) | opcional | — |
| fim | data (AAAA-MM-DD) | opcional | — |
| status | string | opcional | até 80 caracteres |
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "listar_assembleias",
"arguments": {
"pagina": 0,
"limite": 25
}
}
}curl -X POST "$CONDORA_ORIGEM/api/integracoes/mcp" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-11-25' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"listar_assembleias","arguments":{"pagina":0,"limite":25}}}'Schemas de entrada e saída
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"pagina": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"limite": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"condominio_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inicio": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"fim": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"status": {
"type": "string",
"maxLength": 80
}
},
"required": [
"pagina",
"limite"
],
"additionalProperties": false
}{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"registros": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"proxima_pagina": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"registros",
"proxima_pagina"
],
"additionalProperties": false
}