Get current Indexa user
indexa_get_meRetrieve your Indexa Capital user profile and list all accounts you own or have access to. Use this to obtain account numbers needed for other tools.
Instructions
Retrieve the authenticated user's profile and the list of all Indexa Capital accounts they own or have access to.
This is the entry point of the API: every other tool requires an account_number, and this tool is how you discover them. The token in INDEXA_API_TOKEN identifies the user, so no input is required.
Args:
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: For JSON format, the raw response from GET /users/me: { "username": string, "email": string, "name"?: string, "surname"?: string, "document": string, "document_type": string, "roles": string[], "is_activated": boolean, "accounts": [ { "account_number": string, // e.g. "NK1NUTP1" — pass to other tools "status": string, // "active", "pending-contract", etc. "type": "mutual" | "pension" } ], "accounts_relations": [ { "account_number": string, "relation": "owner" | "auth" | "guest" } ] }
Examples:
Use when: User asks "what accounts do I have at Indexa?" or any question that mentions Indexa investments without specifying an account.
Use when: You need an account_number to call any other indexa_* tool.
Don't use when: The user already gave you an account_number.
Error handling:
401/403: token is invalid or revoked. Regenerate it in the Indexa private area at Configuración de usuario > Aplicaciones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' for human-readable summary or 'json' for full structured data. | markdown |