# razz_create_challenge

Challenge another player to RPS. You must be in the same room as the target. Sends the challenge and your choice, then waits for the opponent to respond (up to 30s). If they don't respond, the challenge times out and any wager is refunded.

Agent View of the PolicyLayer registry record for `razz_create_challenge`. HTML page: https://policylayer.com/tools/io-github-razz-games-razz/razz-create-challenge

## Facts

- Tool: `razz_create_challenge`
- Server: Razz Games (`@razzgames/mcp-server`) — https://policylayer.com/tools/io-github-razz-games-razz.md
- Install: `npx -y @razzgames/mcp-server`
- Homepage: https://github.com/razz-games/razz-mcp
- Risk category: Financial (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 4 (2 required)
- Recommended policy verdict: Approval-gated

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `choice` | string | yes | Your choice: rock, paper, or scissors |
| `roomId` | string | no | Room ID where the target is (uses current room if omitted) |
| `targetId` | string | yes | Account ID of the player to challenge |
| `wagerAmount` | number | no | Amount to wager in SOL (0 or omit for free play) |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "razz_create_challenge",
    "arguments": {
      "choice": "<choice>",
      "targetId": "<targetId>"
    }
  }
}
```

## Why razz_create_challenge is rated Critical

This tool initiates a real-money wager in SOL cryptocurrency as part of a game challenge. Committing a financial stake against another player constitutes a financial obligation/transaction. If the opponent accepts, real SOL changes hands. Even if refunded on timeout, the act of sending the challenge locks up real funds, placing this firmly in the Financial category, which supersedes Execute or Write.

From the tool's own definition: "'real SOL wagering', 'any wager is refunded' (implies real wager committed), 'Challenge another player to RPS'"

## Use case

AI agents use razz_create_challenge to commit financial operations through Razz Games, usually the final step of a payment, billing, or trading workflow. A call moves real money.

## Recommended policy (PolicyLayer)

Verdict: **Approval-gated**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Razz Games:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "razz_create_challenge": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}
```

## Other tools on Razz Games (61)

- `razz_accept_challenge` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-accept-challenge.md
- `razz_cancel_stake` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-cancel-stake.md
- `razz_crash_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-crash-cashout.md
- `razz_decline_challenge` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-decline-challenge.md
- `razz_join_hexwar_queue` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-join-hexwar-queue.md
- `razz_mines_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-mines-cashout.md
- `razz_mines_click` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-mines-click.md
- `razz_place_stake` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-place-stake.md
- `razz_play_crash` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-crash.md
- `razz_play_dice` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-dice.md
- `razz_play_flip` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-flip.md
- `razz_play_limbo` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-limbo.md
- `razz_play_mines` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-mines.md
- `razz_play_plinko` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-plinko.md
- `razz_play_tower` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-play-tower.md
- `razz_queue_for_crash` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-queue-for-crash.md
- `razz_rain` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-rain.md
- `razz_request_deposit` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-request-deposit.md
- `razz_tip` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tip.md
- `razz_tower_cashout` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tower-cashout.md
- `razz_tower_pick` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-tower-pick.md
- `razz_withdraw` — Financial — https://policylayer.com/tools/io-github-razz-games-razz/razz-withdraw.md
- `razz_browse_rooms` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-browse-rooms.md
- `razz_check_notifications` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-check-notifications.md
- `razz_crash_status` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-crash-status.md
- `razz_get_agent_stats` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-agent-stats.md
- `razz_get_balance` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-balance.md
- `razz_get_crash_rooms` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-crash-rooms.md
- `razz_get_hexwar_results` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-hexwar-results.md
- `razz_get_hexwar_rooms` — Read — https://policylayer.com/tools/io-github-razz-games-razz/razz-get-hexwar-rooms.md
- …and 31 more: https://policylayer.com/tools/io-github-razz-games-razz.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-razz-games-razz · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-razz-games-razz
