Startup Template programs: update, delete
The Startup Template Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.
Reference for Startup Template, one group of Startup Template programs.
StartupTemplate.update
Changes the given properties of a Startup Template. Verb page.
do: return await $.StartupTemplate.update(input)Emits StartupTemplate.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Startup Template. |
slug | string | The argument to create --template and the page path under /. | |
operatingModel | string | The human and Agent mix: autonomous, single-human, or multi-human. | |
motions | string[] | The Motions its Offers sell through, such as b2b or b2a. | |
extends | Startup Template | The base Startup Template whose Product Templates, Systems, Processes, and Roles it inherits. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
startupTemplate | Startup Template | required | The Startup Template. |
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 $.StartupTemplate.update({ id: 'stpl_9OivLWR17L', slug: 'leaseline' })"
}
}StartupTemplate.delete
Deletes a Startup Template: a soft delete that keeps its history, undone by Thing.restore. Verb page.
do: return await $.StartupTemplate.delete(input)Emits StartupTemplate.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Startup Template. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
startupTemplate | Startup Template | required | The Startup Template. |
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 $.StartupTemplate.delete({ id: 'stpl_9OivLWR17L' })"
}
}