Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Drift Report
SCREWTAPE_GET_DRIFTReturn daily verdict counts and rates for up to 90 days, the previous 30-day baseline, and the latest 24 hours for the connected key.
Get Drift Alerts
SCREWTAPE_GET_DRIFT_ALERTSList recent drift alerts for the connected key. Each alert identifies the agent, metric, and send time; tasks and outputs are not included.
Get Payment Guard Account Rules
SCREWTAPE_GET_PAYMENT_GUARD_ACCOUNT_RULESRead the account-default spend rules used by Screwtape Payment Guard.
Get Payment Guard Rules
SCREWTAPE_GET_PAYMENT_GUARD_RULESRead the spend rules set for the connected Screwtape API key and the effective rules used by Payment Guard.
Get Action Receipt Key
SCREWTAPE_GET_RECEIPT_KEYGet the public Ed25519 key used to verify Screwtape action receipts. Signatures cover sorted-key canonical JSON of every receipt field except signature.
Get Receipt Keys
SCREWTAPE_GET_RECEIPT_KEYSGet the public Ed25519 keys used to verify verdict receipts, including retired keys retained for older exports. No private key is returned.
Get Retained Call
SCREWTAPE_GET_RETAINED_CALLReplay one retained call, including its stored request, result, and signed receipt when still available; optionally re-check the receipt signature.
Get Status
SCREWTAPE_GET_STATUSGet measured one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health for Screwtape.
Get Status JSON
SCREWTAPE_GET_STATUS_JSONGet the JSON status document containing one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health.
Judge Output
SCREWTAPE_JUDGE_OUTPUTJudge one agent output against its task, evidence, criteria, and optional deterministic checks, returning a pass, fail, or retry verdict and a signed receipt when issued. It can retain submitted content when requested.
List Retained Calls
SCREWTAPE_LIST_RETAINED_CALLSReturn the 20 newest judge and consensus calls that the connected key chose to retain. Calls not submitted with retain=true are never included.
List Verdict Receipts
SCREWTAPE_LIST_VERDICT_RECEIPTSList one page of signed verdict receipts stored for the connected API key, with optional date filters and an agent-controlled continuation cursor.
Update Account Settings
SCREWTAPE_PATCH_ACCOUNT_SETTINGSUpdate retention, anonymous-statistics contribution, or the drift-alert webhook. Omitted fields remain unchanged; existing rows keep their expiry.
Publish Receipt
SCREWTAPE_PUBLISH_RECEIPTPublish one signed receipt owned by the connected key and return its public page, badge, and embed snippets. Republishing retains the same public ID.
Set BYOM Settings
SCREWTAPE_PUT_BYOM_SETTINGSSet or rotate Bring-Your-Own-Model provider settings for the connected Screwtape API key. Screwtape AES-GCM encrypts the provider key at rest and never logs it. Unknown models require custom=true. The default error policy is deny, which fails closed for payment decisions.
Set Payment Guard Account Rules
SCREWTAPE_PUT_PAYMENT_GUARD_ACCOUNT_RULESSet the account-default spend rules used by Screwtape Payment Guard. Key-specific rules take precedence. This endpoint is free.
Set Payment Guard Rules
SCREWTAPE_PUT_PAYMENT_GUARD_RULESSet spend rules for the connected Screwtape API key. Key-specific rules override account-default rules. This endpoint is free.
Replay Decision
SCREWTAPE_REPLAY_DECISIONRe-run invoice rules against retained evidence using the original or current policy version. No model is called and the replay is not billed.
Reserve Budget
SCREWTAPE_RESERVE_BUDGETReserve one spend event against a shared agent-run cap and return whether it is allowed, duplicated, retried, or anomalous. The reservation is persistent; reuse event_id only to intentionally replay the same event.
Score Consensus
SCREWTAPE_SCORE_CONSENSUSCompare 2-16 agent answers for agreement and false-consensus risk, returning a consensus answer, clusters, reasons, and a signed receipt when issued. It can retain submitted content when requested.