Create custom event (admin)
specter_create_eventCreate custom events to trigger tasks and achievements in your game. Define event parameters and auto-generate a stable slug from the name.
Instructions
Create a custom event that tasks/achievements can be triggered by (e.g. "boss_defeated"). Create the event BEFORE the task that references it. eventId (slug) is auto-derived from the name. MUTATES live game config — confirm with the user and prefer staging.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "specter_create_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name, e.g. "Boss Defeated" | |
| fields | No | ||
| eventId | No | Stable slug (defaults to a slug of the name) | |
| projectId | No | ||
| parameters | No | Optional event parameters the game sends, e.g. [{name:"score", type:"statistic"}] | |
| description | No |