Skip to content

Limit programs: raise

The Limit Verbs raise as MCP do programs, with inputs, result, refusals and an example.

Reference for Limit, one group of Limit programs.

Limit.raise

Raise lifts a Limit after an Approval allows it, and the Action that waited on it proceeds. Verb page.

Text
do: return await $.Limit.raise(input)

Emits Limit.raised.

Inputs

InputTypeRequiredDescription
limitLimitrequiredThe Limit to lift.
tojsonrequiredThe new amount, count or rate.

Returns

OutputTypeRequiredDescription
limitLimitrequiredThe raised Limit.

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.
The record is not in a state that allows this Verb, so the call is refused.refusedRead the record, run the Verb that moves it to an allowed state, then retry.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Limit.raise({ limit: 'limit_UWHXYVKsJB', to: {} })"
  }
}