dashclaw
v3.1.11Policy checks, approvals, records, and governed HTTP capabilities for unattended agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dashclaw_guard
Evaluate DashClaw governance policies before taking a risky action. Call this BEFORE any action that modifies external systems, deploys code, sends messages, or touches production data. Returns a decision: "allow" (proceed), "warn" (proceed with caution), "block" (stop), or "require_approval". On "require_approval" the server opens the approval request itself when it can: if the response has "recorded": true, call dashclaw_wait_for_approval with the returned action_id and do not record the action again. If "recorded" is missing or false (an older server, or no agent id), call dashclaw_record w…
| Parameter | Type | Description |
|---|---|---|
action_type * | string | Category of action (e.g., deploy, send_email, database_write, api_call) |
declared_goal * | string | What you intend to do, in plain language |
risk_score * | integer | Estimated risk 0-100. Use 70+ for production systems. |
act | object | Evidence-first guard: attach the actual act being evaluated so the server classifies it and folds the derived risk in, instead of trusting only the declared action_type/risk_score above. Shape: { kind… |
agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-… |
approval_wait_seconds | integer | How long you will poll dashclaw_wait_for_approval if the decision is require_approval (default 300; the approval expires after this window + a retry grace) |
confidence | integer | Your honest 0-100 confidence, stated BEFORE acting, that this action completes without a human stepping in. Stored on the action record and scored against the real outcome on /decisions (Predicted vs… |
content | string | Outbound content excerpt (file content, message body) so secret-scan and content policies can evaluate it |
reversible | boolean | Whether the action can be undone |
systems_touched | array | Systems affected (e.g., production, database, email) |
target | string | Primary file path, URL, or resource the action touches (lets protected-path policies match) |
tool_name | string | Name of the tool that will perform the action (e.g., Write, Bash, send_email) |
write_paths | array | File paths the action will write or modify (protected-path policy matching) |
dashclaw_record
Record a governed action in DashClaw's audit trail. Use this to log significant decisions, completed tasks, or notable outcomes. Every important action the agent takes should be recorded for governance visibility in the Approvals inbox and the Decisions ledger.
| Parameter | Type | Description |
|---|---|---|
action_type * | string | Category (e.g., research, analysis, code_change, deploy) |
declared_goal * | string | What was accomplished |
status * | string | Outcome status |
act | object | The actual act this record covers — pass the SAME act object you sent to dashclaw_guard. For status pending_approval the server stamps a content hash from it, binding the operator's approval to this… |
action_id | string | Close an EXISTING record instead of creating one: the action_id returned by an earlier dashclaw_record (status running). A dashclaw_guard decision_id is not an action record and cannot be closed here.… |
agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-… |
approval_wait_seconds | integer | For status pending_approval: how long you will poll for the decision (default 300; the approval expires after this window + a retry grace) |
confidence | integer | Your honest 0-100 confidence, stated BEFORE acting, that this action completes without a human stepping in. Scored against the real outcome on /decisions (Predicted vs actual). State it on dashclaw_gu… |
cost_estimate | number | Estimated cost in USD |
deviation_note | string | Optional deviation self-report: how and why this action departed from the approved plan. Recorded as an agent-reported claim (never suppresses or downgrades the server's own deviation detection). |
error_message | string | For status failed: what went wrong (applied on the action_id close path; ignored otherwise) |
model | string | Model used |
output_summary | string | Brief summary of what was produced |
plan_step_id | string | Optional deviation self-report: the plan step (ps_...) this action was supposed to fulfil, when you knowingly departed from it. |
reasoning | string | Why this action was chosen |
reversible | boolean | Whether the action can be undone |
risk_score | integer | Risk level 0-100 (default 30) |
session_id | string | Session to attribute this action to. Defaults to the session started via dashclaw_session_start in this connection. |
systems_touched | array | Systems affected |
tokens_in | integer | Input tokens consumed |
tokens_out | integer | Output tokens produced |
dashclaw_invoke
Invoke a DashClaw-governed capability (external API). The capability is guarded (policy check), executed (HTTP call), and recorded (audit trail) automatically. Use this instead of making direct HTTP calls when the target API is registered as a DashClaw capability. Call dashclaw_capabilities_list first to discover available capability IDs.
| Parameter | Type | Description |
|---|---|---|
capability_id * | string | The capability ID (e.g., cap_abc123) |
declared_goal * | string | What you're trying to accomplish |
agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-… |
payload | object | Request payload for the capability |
dashclaw_capabilities_list
List available capabilities registered in DashClaw. Use this to discover what external APIs and tools are available before invoking them. Returns capability IDs, names, health status, and risk levels. Filter by category, risk level, or search term.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category: external_api, webhook, function |
limit | integer | Max results (default 50) |
risk_level | string | Filter: low, medium, high, critical |
search | string | Search by name or description |
dashclaw_policies_list
List active governance policies. Use this to understand what rules govern your actions before taking them. Helps calibrate risk scores and know which action types require approval. Optionally filter to policies applying to a specific agent.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter to policies applying to a specific agent |
limit | integer | Max results (default 50) |
dashclaw_wait_for_approval
Wait for a human to approve or deny a pending action in the DashClaw Approvals inbox. Call this after a guard decision returns "require_approval" or after recording an action with status "pending_approval". Polls the action status until it changes. Default timeout is 300 seconds (5 minutes).
| Parameter | Type | Description |
|---|---|---|
action_id * | string | The action ID to wait on (e.g., act_abc123) |
poll_interval_seconds | number | Polling frequency (default 3) |
timeout_seconds | number | Max wait time (default 300) |
dashclaw_session_start
Register this agent session with DashClaw. Creates a session record that groups all subsequent actions for tracking and observability. Call this at the beginning of a task to establish a governance boundary.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Agent identifier (required) |
branch | string | Git branch or task branch |
workspace | string | Workspace or project context |
dashclaw_session_end
Close a DashClaw session and update its status. Call this when the task is complete or if the session needs to be marked as failed. Provides a clean lifecycle boundary for governance reporting in the Approvals inbox.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID from dashclaw_session_start |
status * | string | Final session status |
summary | string | Brief description of what was accomplished |
dashclaw_session_retro
Fetch the per-session defensibility retro ("was I manipulated?"): injected-content flags, actions outside the declared goal, spend anomalies, and shield hits, composed into a clean/review/flagged posture with evidenced findings. Read-only. Defaults to the active session — call it before dashclaw_session_end, or pass session_id explicitly afterwards (ending a session clears the active default).
| Parameter | Type | Description |
|---|---|---|
session_id | string | Session ID (sess_*). Defaults to the session started by dashclaw_session_start. |
dashclaw_task_create
Create a Team Task — one record per multi-agent /team run. Groups the inter-agent event timeline (delegations, replies, approvals) for governance visibility on the Team Tasks page. Call once per task, from the receiving agent.
| Parameter | Type | Description |
|---|---|---|
instruction * | string | The full task instruction (required) |
lead_agent * | string | Lead agent id, e.g. claude | openclaw | moltfire (lowercase slug, required) |
origin * | string | Origin surface: telegram | claude-code | company-loop (required) |
task_id * | string | Ledger task id, e.g. team-20260710-0912-slug (required) |
max_exchanges | integer | Round-trip cap (default 10) |
status | string | Initial status (default open) |
stop_condition | string | When the task is considered complete |
dashclaw_task_event
Append one event to a Team Task timeline (delegation, reply, status, approval_needed, result, error, done, lead_assigned). Log from your OWN identity only; never include secrets in summary or body.
| Parameter | Type | Description |
|---|---|---|
from_agent * | string | Sender agent id, e.g. claude | openclaw | moltfire (lowercase slug, required) |
summary * | string | One-line summary (required) |
task_id * | string | Team task id (required) |
to_agent * | string | Recipient agent id, e.g. claude | openclaw | wes | forge (lowercase slug, required) |
type * | string | Event type (required) |
action_id | string | DashClaw action id this event corresponds to |
body | string | Optional detail |
ts | string | ISO 8601 timestamp (defaults to server time) |
dashclaw_task_update
Update a Team Task: status transitions (open → in_progress → awaiting_approval → done | failed | abandoned) and stored transport session ids.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Team task id (required) |
claude_session_id | string | claude -p session id for --resume |
openclaw_session_key | string | OpenClaw session key |
status | string | New status |
dashclaw_assumption_record
Record an assumption you are acting on — something you treat as true but have not verified (e.g. "staging tests passed", "no active legal hold on this record"). Attach it to the action whose decision rests on it so operators can later validate or refute it and staleness drift is tracked. Call right after the action that depends on the belief.
| Parameter | Type | Description |
|---|---|---|
action_id * | string | Parent action id the assumption underpins (from dashclaw_record) |
assumption * | string | The belief being treated as true |
basis | string | Why you believe it (optional) |
dashclaw_decisions_recent
Query the guardrail decisions ledger for recent governed actions. Filter by agent, action type, decision verdict, or time window. Use for in-session retrospection — "what have I done recently?"
| Parameter | Type | Description |
|---|---|---|
action_type | string | |
agent_id | string | |
decision | string | |
limit | integer | Max results (default 20) |
since | string | ISO timestamp lower bound |
dashclaw_pair
Enroll this agent's cryptographic identity with DashClaw (operator pairing requests ask for exactly this). Generates an RSA-2048 keypair locally, stores the PRIVATE key on this machine only (~/.dashclaw/identity/<agent_id>.pem — never logged, never sent), and POSTs the public key to /api/pairings. An admin then approves the pairing, which creates the agent identity and lets your recorded actions be signature-verified. Set wait:true to poll until approved/expired (max 5 min).
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-… |
agent_name | string | Human-readable agent name shown to the approving admin. |
wait | boolean | Poll the pairing until approved/expired (default false). |
dashclaw_plan_submit
Submit a preflight plan — an ordered list of intended steps — for one-card operator review BEFORE executing. Each step is dry-run through the guard pipeline server-side; approved steps become single-use execution authorities. Claim-aware paths such as dashclaw_invoke, governed SDK callbacks, and supported hooks can claim a matching step and consume it with one attempt. Bare dashclaw_guard/record/wait calls remain cooperative policy and audit and do not consume plan authority. Off-plan actions fall back to normal per-action governance.
| Parameter | Type | Description |
|---|---|---|
declared_goal * | string | The mission-level goal of the plan (required) |
steps * | array | Ordered steps: [{ action_type, step_goal, act?, declared_paths?, declared_systems? }] (required) |
agent_id | string | Fallback identity when no server-level agent id is configured (the configured id wins). With a configured id you may name a sub-agent under it as "<configured id>/<name>" (e.g. claude-desktop/nightly-… |
ttl_minutes | integer | Requested grant TTL after approval (server-clamped; default 60) |
dashclaw_plan_status
Check a submitted plan: overall status (pending | approved | partially_approved | denied | expired | revoked) and per-step grant status (approved / denied / consumed). Poll this after dashclaw_plan_submit to learn the operator verdict before executing.
| Parameter | Type | Description |
|---|---|---|
plan_id * | string | Plan id from dashclaw_plan_submit, e.g. pa_1234... (required) |
dashclaw_status DashClaw status
Check DashClaw authoritative gate configuration and reachability.
export_dashclaw_evidence Export DashClaw evidence
Export local audit entries that include DashClaw guard/evidence metadata.
| Parameter | Type | Description |
|---|---|---|
environment | string | |
limit | integer | |
project | string | |
provider | string |