Tool reference register_for_event
register_for_event
Register the signed-in person for a free upcoming event by its id (from list_events). Paid events are not registered here: the answer carries the event page where a ticket is bought.
- Needs sign-in · 1 gold
- Changes something – ask first
Input
| Field | Type | Required | Notes |
|---|---|---|---|
eventId | string | Yes | 1–128 characters |
Over HTTP
curl -X POST https://pirateskills.com/api/public/agent/tools/register_for_event \
-H "Authorization: Bearer $PIRATESKILLS_API_KEY" \
-H "content-type: application/json" \
-d '{ "eventId": "<eventId>" }'From the CLI
pirateskills run register_for_event --json '{ "eventId": "<eventId>" }' # asks y/N firstOver MCP
Call register_for_event 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"
]
}