Tool reference cancel_registration
cancel_registration
Cancel the signed-in person's own registration for an event by its id.
- Needs sign-in · 1 gold
- Changes something – ask first, takes something away
Input
| Field | Type | Required | Notes |
|---|---|---|---|
eventId | string | Yes | 1–128 characters |
Over HTTP
curl -X POST https://pirateskills.com/api/public/agent/tools/cancel_registration \
-H "Authorization: Bearer $PIRATESKILLS_API_KEY" \
-H "content-type: application/json" \
-d '{ "eventId": "<eventId>" }'From the CLI
pirateskills run cancel_registration --json '{ "eventId": "<eventId>" }' # asks y/N firstOver MCP
Call cancel_registration on https://pirateskills.com/mcp. The tool is marked as one that changes something, so a well-behaved client asks the person first. Connect over MCP
JSON Schema
{
"type": "object",
"properties": {
"eventId": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"eventId"
]
}