Runledge

Runledge is the approval gate for AI agents. Rules check every action before it runs.

我該用這個嗎

品質與安全性

A
說明品質
98%
結構描述完整度
80%
命名品質
96%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~10,232Token(工具定義)
~4.0 KB典型回應大小
顯著的注意力影響(128k 上下文的 7.99%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "runledge": {
      "url": "https://runledge.com/mcp"
    }
  }
}

遠端端點

https://runledge.com/mcpstreamable-http

它能做什麼

工具清單

工具(19)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢list_workspaces

List the Runledge workspaces the signed-in user can access, with plan and your role. Call this first to get a workspace_id.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_roi_summary(workspace_id, days)

Return actions, hours saved, losses prevented, token usage, spend and net value for a workspace over the last N days.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Workspace id from list_workspaces."
    },
    "days": {
      "default": 30,
      "description": "Lookback window in days.",
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢list_actions(workspace_id, status, agent, run_id, limit)

List recent agent actions in a workspace, newest first, optionally filtered by status or agent.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "status": {
      "type": "string",
      "enum": [
        "executed",
        "blocked",
        "rolled_back",
        "pending_approval",
        "failed"
      ]
    },
    "agent": {
      "type": "string",
      "maxLength": 120
    },
    "run_id": {
      "type": "string",
      "maxLength": 120
    },
    "limit": {
      "default": 25,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪record_action(workspace_id, agent, action_type, target_system, status, ...)

Record an action an agent took (or was blocked from taking) with tokens, cost and value. Pass idempotency_key to make retries safe. Requires member role.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "agent": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "action_type": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "target_system": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "status": {
      "type": "string",
      "enum": [
        "executed",
        "blocked",
        "rolled_back",
        "pending_approval",
        "failed"
      ]
    },
    "blocked_reason": {
      "type": "string",
      "maxLength": 500
    },
    "model": {
      "type": "string",
      "maxLength": 120
    },
    "tokens_in": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "tokens_out": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "model_cost_usd": {
      "default": 0,
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    },
    "minutes_saved": {
      "default": 0,
      "type": "number",
      "minimum": 0,
      "maximum": 100000
    },
    "value_protected_usd": {
      "default": 0,
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "latency_ms": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 86400000
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 200
    },
    "cost_center": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,40}$"
    },
    "metadata": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "run_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:-]{1,120}$"
    },
    "compensation": {
      "type": "object",
      "properties": {
        "action_type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "target_system": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "metadata": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      },
      "required": [
        "action_type",
        "target_system"
      ]
    },
    "compensates_action_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "approval_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "decision_record_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "workspace_id",
    "agent",
    "action_type",
    "target_system",
    "status"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢list_approvals(workspace_id, status)

List human-in-the-loop approval requests in a workspace, optionally filtered by status.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "approved",
        "rejected"
      ]
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡request_approval(workspace_id, summary, amount_usd, requested_by, proposed_action)

Put a high-impact action in the workspace approval queue for a human owner or admin to approve or reject in the Runledge console.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "summary": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Plain-language description of what will happen."
    },
    "amount_usd": {
      "type": "number",
      "minimum": 0
    },
    "requested_by": {
      "default": "mcp-agent",
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "proposed_action": {
      "description": "Exact proposed action from evaluate_action; requires the quorum set by the failing rules (1–5 distinct reviewers; admins only if a rule says so).",
      "type": "object",
      "properties": {
        "agent": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "action_type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "run_id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9._:-]{1,120}$"
        },
        "target_system": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "model_cost_usd": {
          "default": 0,
          "type": "number",
          "minimum": 0,
          "maximum": 100000
        },
        "metadata": {
          "default": {},
          "type": "object",
          "properties": {
            "amount_usd": {
              "type": "number",
              "minimum": 0,
              "maximum": 10000000000
            },
            "destination_domain": {
              "type": "string",
              "maxLength": 253
            },
            "environment": {
              "type": "string",
              "enum": [
                "development",
                "staging",
                "production"
              ]
            },
            "campaign_id": {
              "type": "string",
              "maxLength": 120
            },
            "ad_account": {
              "type": "string",
              "maxLength": 120
            },
            "category": {
              "type": "string",
              "maxLength": 120
            },
            "input_text": {
              "type": "string",
              "maxLength": 8000
            },
            "approved_list_member": {
              "type": "boolean"
            },
            "target_differs_from_actor": {
              "type": "boolean"
            },
            "verified_owner": {
              "type": "boolean"
            },
            "bank_details_changed_recently": {
              "type": "boolean"
            },
            "customs_cleared": {
              "type": "boolean"
            },
            "price_above_contract_rate": {
              "type": "boolean"
            },
            "order_shipped": {
              "type": "boolean"
            },
            "shipping_label_created": {
              "type": "boolean"
            },
            "discount_codes_stacked": {
              "type": "boolean"
            },
            "discount_percent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100
            },
            "matter_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "account_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "evidence": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            }
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "required": [
        "agent",
        "action_type",
        "target_system"
      ]
    }
  },
  "required": [
    "workspace_id",
    "summary"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡evaluate_action(workspace_id, action, approval_id, payload_sha256, connection_check_id)

Evaluate a proposed action against current workspace rules. Returns Allowed / Adjusted / Held / Blocked (compatibility values allowed / shaped / pending_approval / blocked). Adjusted returns shaped_action; callers send that version, never the original. No external action is executed.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "action": {
      "type": "object",
      "properties": {
        "agent": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "action_type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "run_id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9._:-]{1,120}$"
        },
        "target_system": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "model_cost_usd": {
          "default": 0,
          "type": "number",
          "minimum": 0,
          "maximum": 100000
        },
        "metadata": {
          "default": {},
          "type": "object",
          "properties": {
            "amount_usd": {
              "type": "number",
              "minimum": 0,
              "maximum": 10000000000
            },
            "destination_domain": {
              "type": "string",
              "maxLength": 253
            },
            "environment": {
              "type": "string",
              "enum": [
                "development",
                "staging",
                "production"
              ]
            },
            "campaign_id": {
              "type": "string",
              "maxLength": 120
            },
            "ad_account": {
              "type": "string",
              "maxLength": 120
            },
            "category": {
              "type": "string",
              "maxLength": 120
            },
            "input_text": {
              "type": "string",
              "maxLength": 8000
            },
            "approved_list_member": {
              "type": "boolean"
            },
            "target_differs_from_actor": {
              "type": "boolean"
            },
            "verified_owner": {
              "type": "boolean"
            },
            "bank_details_changed_recently": {
              "type": "boolean"
            },
            "customs_cleared": {
              "type": "boolean"
            },
            "price_above_contract_rate": {
              "type": "boolean"
            },
            "order_shipped": {
              "type": "boolean"
            },
            "shipping_label_created": {
              "type": "boolean"
            },
            "discount_codes_stacked": {
              "type": "boolean"
            },
            "discount_percent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100
            },
            "matter_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "account_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "evidence": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            }
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "required": [
        "agent",
        "action_type",
        "target_system"
      ]
    },
    "approval_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "payload_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "connection_check_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "workspace_id",
    "action"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_approval_status(workspace_id, approval_id)

Check one approval request so a paused agent can resume. When approved, re-run evaluate_action with approval_id before executing the exact same proposal; when rejected, do not execute.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "approval_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "workspace_id",
    "approval_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🔴execute_brokered_action(workspace_id, credential, idempotency_key, approval_id, action, ...)

Run a provider API call through a workspace credential the agent never sees. Runledge evaluates policy first and calls the provider only when allowed; the idempotency key guarantees at most one call. Held or Blocked proposals are recorded but not executed. Adjusted proposals are refused: this broker does not rewrite provider requests.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "credential": {
      "type": "string",
      "pattern": "^[a-z0-9_-]{1,40}$"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200
    },
    "approval_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "action": {
      "type": "object",
      "properties": {
        "agent": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "action_type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "run_id": {
          "type": "string",
          "pattern": "^[A-Za-z0-9._:-]{1,120}$"
        },
        "target_system": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "model_cost_usd": {
          "default": 0,
          "type": "number",
          "minimum": 0,
          "maximum": 100000
        },
        "metadata": {
          "default": {},
          "type": "object",
          "properties": {
            "amount_usd": {
              "type": "number",
              "minimum": 0,
              "maximum": 10000000000
            },
            "destination_domain": {
              "type": "string",
              "maxLength": 253
            },
            "environment": {
              "type": "string",
              "enum": [
                "development",
                "staging",
                "production"
              ]
            },
            "campaign_id": {
              "type": "string",
              "maxLength": 120
            },
            "ad_account": {
              "type": "string",
              "maxLength": 120
            },
            "category": {
              "type": "string",
              "maxLength": 120
            },
            "input_text": {
              "type": "string",
              "maxLength": 8000
            },
            "approved_list_member": {
              "type": "boolean"
            },
            "target_differs_from_actor": {
              "type": "boolean"
            },
            "verified_owner": {
              "type": "boolean"
            },
            "bank_details_changed_recently": {
              "type": "boolean"
            },
            "customs_cleared": {
              "type": "boolean"
            },
            "price_above_contract_rate": {
              "type": "boolean"
            },
            "order_shipped": {
              "type": "boolean"
            },
            "shipping_label_created": {
              "type": "boolean"
            },
            "discount_codes_stacked": {
              "type": "boolean"
            },
            "discount_percent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100
            },
            "matter_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "account_owner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "evidence": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            }
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "required": [
        "agent",
        "action_type",
        "target_system"
      ]
    },
    "request": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE"
          ]
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        "body": {},
        "content_type": {
          "default": "application/json",
          "type": "string",
          "enum": [
            "application/json",
            "application/x-www-form-urlencoded"
          ]
        }
      },
      "required": [
        "method",
        "path"
      ]
    }
  },
  "required": [
    "workspace_id",
    "credential",
    "idempotency_key",
    "action",
    "request"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_cost_center_report(workspace_id, days)

Departmental action volume, token spend and estimated operating value. Risk exposure is not realized savings; shared platform cost counted once.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "days": {
      "default": 30,
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢search_developer_docs(query)

Search Runledge API contracts and developer FAQs; cite returned sources when explaining integrations. Does not execute examples or change permissions.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "API endpoint, integration topic or developer question."
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_rule_recommendations(workspace_id)

Review the last 30 days of agent activity for uncovered actions and volume spikes, and return suggested rules. Suggestions are not applied. Team and above.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Workspace id from list_workspaces."
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡compensate_run(workspace_id, run_id, reason, dry_run)

Start a rollback for a multi-step run. Returns the undo steps each action declared, newest first. Runledge does not call providers: execute each step yourself, then call record_action with compensates_action_id. Set dry_run to only read the run state. Requires member role.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "run_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._:-]{1,120}$"
    },
    "reason": {
      "default": "",
      "type": "string",
      "maxLength": 500
    },
    "dry_run": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "workspace_id",
    "run_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢start_connection_check(workspace_id)

Open a ten-minute connection check. Pass its id as connection_check_id to evaluate_action or REST preflight; this executes no external action.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_connection_check(workspace_id, id)

Read the stored policy decision for an opt-in connection check; not proof of external execution.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "workspace_id",
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡test_notification_channel(workspace_id, endpoint_id, event)

Send one synthetic non-actionable notification or velocity-trip example to a subscribed channel. Requires policy management permission; one test per minute. Does not verify reviewer decisions.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "endpoint_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "event": {
      "default": "approval.requested",
      "type": "string",
      "enum": [
        "approval.requested",
        "alert.velocity_trip"
      ]
    }
  },
  "required": [
    "workspace_id",
    "endpoint_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪draft_policy_rules(workspace_id, text)

Draft up to five shadow-mode rules from operational language. Drafting is free and does not consume a paid-plan AI review. Fair-use limit: 20 drafts per hour. Unsupported requirements are flagged; no rules are saved or applied. Requires policy management permission.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "text": {
      "type": "string",
      "minLength": 10,
      "maxLength": 6000
    }
  },
  "required": [
    "workspace_id",
    "text"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡manage_partner_clearing(input)

Administrator operations: publish/revoke agent passports, set partner caps and incoming action vocabulary, run a zero-value staging bilateral policy handshake, or retrieve consent evidence. Handshakes are synthetic and audited on both sides, not live consent or external connectivity. Publishing passports makes scope public by link. Never executes actions, settles funds or changes policies automatically; obtain explicit user consent before mutations.

輸入結構描述

{
  "type": "object",
  "properties": {
    "input": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "issue_passport"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "agent_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "ceiling_usd": {
              "default": null,
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "agent_id"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "revoke_passport"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "id"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "set_limits"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "partner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "daily_cap_usd": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000
                },
                {
                  "type": "null"
                }
              ]
            },
            "probation_exchanges": {
              "default": 0,
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "partner_id",
            "daily_cap_usd"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "get_manifest"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "id"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "set_vocabulary"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "partner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "action_types": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120,
                "pattern": "^[A-Za-z0-9_.:-]+$"
              }
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "partner_id",
            "action_types"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "const": "test_handshake"
            },
            "workspace_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "partner_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "action_type": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120,
              "pattern": "^[A-Za-z0-9_.:-]+$"
            },
            "target_system": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "required": [
            "operation",
            "workspace_id",
            "partner_id",
            "action_type",
            "target_system"
          ],
          "additionalProperties": false
        }
      ]
    }
  },
  "required": [
    "input"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
⚪exchange_partner_ticket(workspace_id, operation, proposal, ticket, reviewed)

Issue or accept an exact partner action ticket after both workspace policies. Administrator only; explicit human review required for probation acceptance. Acceptance records consent, never external execution or financial settlement.

輸入結構描述

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "operation": {
      "type": "string",
      "enum": [
        "issue",
        "accept"
      ]
    },
    "proposal": {
      "type": "object",
      "properties": {
        "audience_org": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "action": {
          "type": "object",
          "properties": {
            "agent": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "action_type": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "target_system": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "metadata": {
              "default": {},
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "action_type",
            "target_system"
          ],
          "additionalProperties": false
        },
        "approval_id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "passport_id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        }
      },
      "required": [
        "audience_org",
        "action"
      ],
      "additionalProperties": false
    },
    "ticket": {
      "type": "object",
      "properties": {
        "v": {
          "type": "string",
          "const": "VAT-1"
        },
        "iss": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "aud": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "nonce": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "iat": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "exp": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "action": {
          "type": "object",
          "properties": {
            "agent": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "action_type": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "target_system": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "metadata": {
              "default": {},
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "action_type",
            "target_system"
          ],
          "additionalProperties": false
        },
        "action_hash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "approval_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            {
              "type": "null"
            }
          ]
        },
        "key_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "signature_algorithm": {
          "type": "string",
          "enum": [
            "Ed25519",
            "ES256"
          ]
        },
        "signature": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512
        }
      },
      "required": [
        "v",
        "iss",
        "aud",
        "nonce",
        "iat",
        "exp",
        "action",
        "action_hash",
        "approval_id",
        "key_id",
        "signature_algorithm",
        "signature"
      ],
      "additionalProperties": false
    },
    "reviewed": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "workspace_id",
    "operation"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本19 個工具