Skip to content

For AI agents: the documentation index is at https://stampywallet.com/en/docs/llms.txt, the whole documentation in one file at https://stampywallet.com/en/docs/llms-full.txt, and this page is available as Markdown: https://stampywallet.com/en/docs/mcp/tools/changer_role_membre.md (or with the Accept: text/markdown header).

StampyWalletDocs
MCP and AI / Tools with an account / changer_role_membreView as Markdown

changer_role_membre

With accountWrites (confirm)Owner only

Switches a team member to staff or manager. Can be undone with the same tool. Owner only. confirmer=false (default) returns a preview; confirmer=true carries it out, after the person's explicit approval.

Parameters

membre_id
string, ≤ 36 characters
optional
The member's identifier, read with lister_equipe.
email
string, ≤ 254 characters
optional
Or the member's email, instead of membre_id.
role
enum
required
staff = staff member, only sees the scanner; manager = sees numbers, customers, messages and sets up the card, without touching the team.

Values : staff, manager

confirmer
boolean
optional
false (default): only returns a preview of what would be done, without changing anything. true: carries it out. Always show the preview to the person and wait for their approval before calling again with true.

Default : false

Response

A text the assistant reads (content), and the same information as structured data (structuredContent). When a call is refused (a parameter to fix, plan, role), the response has isError: true and a sentence the assistant can rephrase.

Warning : this tool writes. Called with confirmer: false (the default), it only returns a preview, without changing anything. The assistant must show it to you and wait for your approval before calling again with confirmer: true.

Updated

Was this page helpful?