Skip to content
onelayer.
All tools

Tool detail

Agent Action Safety Quick Gate

Runs a deterministic preflight risk check on a proposed agent action (shell, Git, SQL, deploy, MCP, wallet, or x402 command) before it executes.

Categories: Agent trust safety

Use when

  • check whether a planned shell or deploy command is risky before running it
  • get a fast risk verdict on an agent action prior to execution

Not for

  • not a substitute for the full Action Safety workflow on medium/high-risk findings
  • does not execute, block or approve the action itself, advisory only

Inputs

POST JSON body: { command: string } (required); optional actor, repo, branch, commit, cwd, intent, target, environment, diffHash, diffStat, failClosedOnUnmatched.

Admitted input schema

{
  "type": "object",
  "properties": {
    "actor": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "branch": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "command": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Exact shell, SQL, Git, deploy, cloud, MCP, wallet, or x402 action to ..."
    },
    "commit": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "cwd": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "diffHash": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "diffStat": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "environment": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "failClosedOnUnmatched": {
      "type": "boolean",
      "description": "When true, an unmatched consequential action routes to review instead..."
    },
    "intent": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "repo": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    },
    "target": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096
    }
  },
  "required": [
    "command"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://hermesplant.com/api/agent-services/action-safety/quick

Payment

Protocol
x402
Listed price
0.01 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://hermesplant.com/api/agent-services/action-safety/quick
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z