Skip to content
onelayer.
All tools

Tool detail

run

Returns one guardrail decision -- proceed, slow down, or stop -- for an agent's next action based on cost, chain depth, steps and request volume.

Categories: Agent trust safety

Use when

  • check whether an agent should proceed before its next action
  • enforce a cost or retry budget across an agent chain
  • get a slow-down or stop decision for runaway agent delegation

Not for

  • not for setting thresholds -- use /policy for that
  • not an audit log -- use /audit to pull past decisions

Inputs

POST JSON body: { tenant_id, agent_id, chain_id: string (required) }; step_cost: number, is_retry: boolean (optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Identifies the specific agent, used for pause/retry tracking"
    },
    "chain_id": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Identifies the specific agent chain/task, used for depth/step tracking"
    },
    "is_retry": {
      "type": "boolean",
      "description": "Set true if this call represents a retry of a previous failed step (default false)"
    },
    "step_cost": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Cost of this step in USD, must be >= 0 (default 0)"
    },
    "tenant_id": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Identifies the customer account; policy and counters are scoped to this"
    }
  },
  "required": [
    "tenant_id",
    "agent_id",
    "chain_id"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://redlynr.com/run

Payment

Protocol
x402
Listed price
0.001 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://redlynr.com/run
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z