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.
do: return await $.Opening.update(input)Emits Opening.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Opening. |
role | Role | The Role the Human joins, by taking a share of it. | |
kind | string | One of floor, contractor, employee, or cofounder. | |
reason | string | One of floor, credential, edge, relationship, capital, capacity, or distribution. | |
hypothesis | Hypothesis | The result a hire must beat the incumbent Agent on. | |
skills | list of Skill | The Skills required, each citing the Evidence that shows the gap. | |
credentials | list of Credential | The Credentials a Reserved Act in the Role requires. | |
commitment | string | Hours per week, from a few hours to full time. | |
terms | url | The published terms for this kind of Opening. | |
listed | boolean | True once the Opening is public; unlisted Openings reach only the talent pool. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
opening | Opening | required | The Opening. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"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.
do: return await $.Opening.delete(input)Emits Opening.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Opening. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
opening | Opening | required | The Opening. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Opening.delete({ id: 'opening_3rD8qFSOyQ' })"
}
}