Skip to content

Gathering programs: update, delete

The Gathering Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.

Reference for Gathering, one group of Gathering programs.

Gathering.update

Changes the given properties of a Gathering. Verb page.

Text
do: return await $.Gathering.update(input)

Emits Gathering.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Gathering.
titlestringWhat the Gathering is called on its Page and invitations.
atdatetimeWhen it starts.
capacityintegerThe most Registrations it admits before new ones join the waitlist.
recordingurlWhere the replay lives once it ends.

Returns

OutputTypeRequiredDescription
gatheringGatheringrequiredThe Gathering.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Gathering.update({ id: 'gathering_ACB9Q1atRR', title: 'Leaseline Pro' })"
  }
}

Gathering.delete

Deletes a Gathering: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
do: return await $.Gathering.delete(input)

Emits Gathering.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Gathering.

Returns

OutputTypeRequiredDescription
gatheringGatheringrequiredThe Gathering.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Gathering.delete({ id: 'gathering_ACB9Q1atRR' })"
  }
}