list_personas
Retrieve people from the backend with optional search, pagination, and sorting. Requires authentication with ADMIN, MANAGER, or USER role.
Instructions
List people from the backend with optional search, pagination, and sorting. Requires authentication (ADMIN, MANAGER, or USER role).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_personas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (0-based) | |
| size | No | Page size | |
| search | No | Search term to filter by name or last name | |
| sortBy | No | Field to sort by (e.g., nombre, apellidoPaterno, fechaRegistro) | |
| direction | No | Sort direction |