razz_withdraw
Withdraw SOL from your internal balance to your linked wallet. Agents can ONLY withdraw to a wallet linked via link_wallet (security). If you haven't linked a wallet yet, call link_wallet first. Withdrawals are processed on-chain and confirmed automatically.
This record as markdown: /tools/io-github-razz-games-razz/razz-withdraw.md
What razz_withdraw does on Razz Games
AI agents use razz_withdraw to commit financial operations through Razz Games, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Amount to withdraw in SOL (min 0.01) |
currency | string | — | Currency (default: SOL) |
Parameters from the server's own tool schema.
Why razz_withdraw is rated Critical
This tool moves cryptocurrency (SOL) from the user's internal game balance to an external wallet. While the description mentions security controls (wallet linking requirement), the core function is to transfer real financial assets, making it Financial rather than Write. The irreversible nature of blockchain transactions and the direct movement of monetary value justifies high severity.
From the tool's definition Tool description explicitly states 'Withdraw SOL from your internal balance to your linked wallet' and 'Withdrawals are processed on-chain'. SOL is a cryptocurrency token representing real monetary value.
Attacks that exploit this kind of access
The rule that runs razz_withdraw safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Razz Games, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For razz_withdraw, this is the rule to start with:
Any call to razz_withdraw is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Razz Games, apply this rule, and every razz_withdraw call is checked against it from then on.
Questions about razz_withdraw
Withdraw SOL from your internal balance to your linked wallet. Agents can ONLY withdraw to a wallet linked via link_wallet (security). If you haven't linked a wallet yet, call link_wallet first. Withdrawals are processed on-chain and confirmed automatically. It is categorised as a Financial tool in the Razz Games MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
razz_withdraw accepts 2 parameters: amount, currency. Required: amount. The full parameter table on this page comes from the server's own tool schema.
Register the Razz Games MCP server in PolicyLayer and add a rule for razz_withdraw: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Razz Games. Nothing to install.
razz_withdraw is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the razz_withdraw rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for razz_withdraw. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
razz_withdraw is provided by the Razz Games MCP server (@razzgames/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Razz Games, and thousands of servers like it.
Across the catalogue