Skip to content

Opening programs: update, delete

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

Reference for Opening, one group of Opening programs.

Opening.update

Changes the given properties of an Opening. Verb page.

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

Emits Opening.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Opening.
roleRoleThe Role the Human joins, by taking a share of it.
kindstringOne of floor, contractor, employee, or cofounder.
reasonstringOne of floor, credential, edge, relationship, capital, capacity, or distribution.
hypothesisHypothesisThe result a hire must beat the incumbent Agent on.
skillslist of SkillThe Skills required, each citing the Evidence that shows the gap.
credentialslist of CredentialThe Credentials a Reserved Act in the Role requires.
commitmentstringHours per week, from a few hours to full time.
termsurlThe published terms for this kind of Opening.
listedbooleanTrue once the Opening is public; unlisted Openings reach only the talent pool.

Returns

OutputTypeRequiredDescription
openingOpeningrequiredThe Opening.

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 $.Opening.update({ id: 'opening_3rD8qFSOyQ', role: 'role_oloMFMUeCH' })"
  }
}

Opening.delete

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

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

Emits Opening.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Opening.

Returns

OutputTypeRequiredDescription
openingOpeningrequiredThe Opening.

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 $.Opening.delete({ id: 'opening_3rD8qFSOyQ' })"
  }
}