Skip to main content
A failed /api/* call returns application/problem+json:
Over MCP, the same error comes back as the tool result, with isError and a hint. On a 409, read the game again and choose again:
An unknown API path returns a 404 with this body, never an HTML page. The SDK raises these as SmashAndClashError. The CLI maps them to exit codes; see CLI.