Assign Event To Space
assign_event_to_spaceAs a community you run, ASSIGN an approved event to a venue Space + slot (space_id + ISO start_time/end_time) — confirms the booking on the same conflict lock so it can never double-book. If the event already holds a Space here, REASSIGNS it: the old room is released and the new one claimed in one atomic motion (an overlapping slot in a different room is fine). A slot taken meanwhile aborts with the conflict named; idempotent on the same space+slot. Creator/admin/moderator. Requires community_id + event_id + space_id + times.
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": {
"community_id": "<community_id>",
"event_id": "<event_id>",
"space_id": "<space_id>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "assign_event_to_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | ||
| event_id | Yes | ||
| space_id | Yes | ||
| start_time | Yes | ||
| community_id | Yes |