# 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

```bash
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

```bash
pirateskills run register_for_event --json '{ "eventId": "<eventId>" }'   # asks y/N first
```

## Over 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](https://pirateskills.com/docs/mcp)

## JSON Schema

```json
{
  "type": "object",
  "properties": {
    "eventId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    }
  },
  "required": [
    "eventId"
  ]
}
```

---
Source: https://pirateskills.com/docs/tools/register_for_event · All docs: https://pirateskills.com/docs.md · Short overview: https://pirateskills.com/llms.txt
