Skip to content

Story programs: update, delete

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

Reference for Story, one group of Story programs.

Story.update

Changes the given properties of a Story. Verb page.

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

Emits Story.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Story.
icpICPThe ICP it speaks to: one Story per ICP.
herotextWho the customer is and what they want.
problemProblemThe Problem: external, internal, and the villain behind it.
guidetextThe Startup’s empathy and authority, the authority read from Metrics and Evidence.
plantextThree steps, each naming a declared Event.
successtextWhat the customer gains.
failuretextWhat the customer risks without it.
oneLinerstringThe Story in one sentence.
directOfferThe direct call to action: an Offer that makes a Customer.
transitionalFunnelThe transitional call to action: a Funnel opt-in that makes a Lead.
fromstringLineage: the slot it compiles from, as Hypothesis#<slot>@v<version>.
stancestringThe positioning the Positioning tournament chose, graded Behavior; every compiled asset recompiles when it changes.
categorystringThe market category name the Story claims, as answer engines repeat it.

Returns

OutputTypeRequiredDescription
storyStoryrequiredThe Story.

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 $.Story.update({ id: 'story_ujkz1xjvrp', icp: 'icp_EwhsJU4AOW' })"
  }
}

Story.delete

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

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

Emits Story.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Story.

Returns

OutputTypeRequiredDescription
storyStoryrequiredThe Story.

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