Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Authorize Payment With Payment Guard
SCREWTAPE_AUTHORIZE_PAYMENT_GUARDApply the connected key's effective spend rules to a payment intent. An allow decision atomically reserves the amount against configured budgets and returns a short-lived Ed25519-signed clearance; a block reserves nothing. This non-custodial action does not make a payment and never accepts private keys, seeds, or mnemonics. Reusing an event_id with the same body replays the decision without billing again.
Check Duplicate Invoice
SCREWTAPE_CHECK_DUPLICATE_INVOICEJudge an invoice and compare its configured identity fields with stored fingerprints before payment, optionally storing a new fingerprint and retaining submitted content when requested, and returning duplicate and verdict details.
Check Payment
SCREWTAPE_CHECK_PAYMENTAssess available x402 seller or payment-request context and return an allow, review, or block verdict with a signed receipt reference when issued. All inputs are optional; provide seller_url, payment_required, or both when known. This action does not make a payment.
Create Action Receipt
SCREWTAPE_CREATE_ACTION_RECEIPTCreate an Ed25519-signed, hash-chained receipt for an agent-reported action and status.
Create Free API Key
SCREWTAPE_CREATE_FREE_KEYCreate a free-tier Screwtape API key with 10 calls per UTC day. An optional proof-of-work nonce raises signup limits. The returned secret is shown once.
Create Free API Key via Keys Endpoint
SCREWTAPE_CREATE_KEYCreate a free-tier Screwtape API key, optionally using proof of work for higher signup limits. This endpoint is an alias of POST /v1/signup; prefer the signup endpoint in new workflows.
Delete All Retained Calls
SCREWTAPE_DELETE_ALL_RETAINED_CALLSPermanently delete every retained call for the connected key's subscription account, or only this key when it has no plan, and return the deleted count.
Delete BYOM Settings
SCREWTAPE_DELETE_BYOM_SETTINGSDelete the Bring-Your-Own-Model settings stored for the connected Screwtape API key, including its encrypted provider credential.
Delete Current API Key and Data
SCREWTAPE_DELETE_CURRENT_KEYPermanently and irreversibly delete the connected API key hash, counters, payments, retained judgments, shared samples, and feedback. Call this only when the user explicitly asks to delete their key or data.
Delete Duplicate Fingerprints
SCREWTAPE_DELETE_DUPLICATE_FINGERPRINTSPermanently delete every keyed fingerprint that duplicate checks stored for the connected key and return the deleted count.
Delete Receipt Evidence
SCREWTAPE_DELETE_EVIDENCEDelete retained evidence for one receipt while preserving the signed receipt. This operation is available to plan keys.
Delete Retained Call
SCREWTAPE_DELETE_RETAINED_CALLPermanently delete one retained judge or consensus call by its retention id.
Describe API Key Signup
SCREWTAPE_DESCRIBE_KEYSReturn instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.
Describe Free API Key Signup
SCREWTAPE_DESCRIBE_SIGNUPReturn instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.
Export Spend Books
SCREWTAPE_EXPORT_SPEND_BOOKSExport charges for the connected key as agent spend-book rows grouped by agent, seller, vendor, UTC day, and product category in QuickBooks CSV, Xero CSV, or JSON format.
Export Verdict Receipts
SCREWTAPE_EXPORT_VERDICT_RECEIPTSExport one cursor-controlled page of signed verdict receipts as a downloadable JSONL, CSV, or JSON audit file. Pass the returned cursor to continue.
Get Account Settings
SCREWTAPE_GET_ACCOUNT_SETTINGSRead retention, anonymous-statistics contribution, and drift-alert webhook settings. The stored webhook signing secret is not returned.
Get BYOM Settings
SCREWTAPE_GET_BYOM_SETTINGSGet Bring-Your-Own-Model provider, model, key suffix, and error policy for the connected Screwtape API key. The saved provider API key is never returned. BYOM is off unless Screwtape enables it; deterministic checks and per-call billing still apply.
Get Current Key Usage
SCREWTAPE_GET_CURRENT_KEY_USAGEReturn safe metadata, metered-call usage, daily quota, and credit balance for the connected Screwtape API key without revealing its secret.
Get Data-Sharing Setting
SCREWTAPE_GET_DATA_SHARINGRead the connected key's opt-in data-sharing state, consent metadata, stored sample count, and redaction and retention policy. Data sharing is off by default.