get_users
Retrieve all users from a Siigo account to assign as sellers or responsible parties for electronic invoicing and customer management.
Instructions
Get all users in the Siigo account.
Returns a list of users who can be assigned as sellers or responsible parties.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/siigo_mcp/tools/reference.py:59-66 (handler)The main handler function for the get_users tool. It is decorated with @mcp.tool for automatic registration and fetches the list of users from the Siigo API endpoint /users.@mcp.tool async def get_users(ctx: Context) -> list[dict[str, Any]]: """Get all users in the Siigo account. Returns a list of users who can be assigned as sellers or responsible parties. """ return await get_client(ctx).get("/users")
- src/siigo_mcp/server.py:110-110 (registration)Import statement in server.py that loads the reference.py module, thereby registering the get_users tool (along with others) via its @mcp.tool decorator in non-lazy loading mode.from siigo_mcp.tools import reference # noqa: E402, F401
- src/siigo_mcp/tools/discovery.py:77-77 (registration)Maps the get_users function to its name in the dynamic tool functions dictionary used for lazy loading and on-demand execution."get_users": reference.get_users,
- Discovery index entry for get_users, providing metadata like category and summary used in list_siigo_tools.{"name": "get_users", "category": "reference", "summary": "Get all users in the account"},