Tool library

Tool library

A scannable index of Primitive402 machine names, routes, prices, MCP names, tags, and agent use cases.

Tool index

Search this page with your browser find command, or open a tool page for request examples and SDK usage.

Tool Purpose Price Routes MCP / SDK
safe_fetch_url Fetch a public URL and return clean, agent-ready text with risk signals. $0.01 USDC /v1/safe-fetch-url
/x402/v1/safe-fetch-url
safe_fetch_url
safeFetchUrl()
check_prompt_injection_risk Score supplied text for prompt-injection risk signals and detected patterns. $0.005 USDC /v1/check-prompt-injection-risk
/x402/v1/check-prompt-injection-risk
check_prompt_injection_risk
checkPromptInjectionRisk()
verify_claim_against_source Check whether a public source supports, contradicts, or does not address a claim. $0.05 USDC /v1/verify-claim-against-source
/x402/v1/verify-claim-against-source
verify_claim_against_source
verifyClaimAgainstSource()
create_page_proof Capture timestamped page metadata, hashes, and optional screenshot or text snapshots. $0.10 USDC /v1/create-page-proof
/x402/v1/create-page-proof
create_page_proof
createPageProof()
extract_return_policy Extract structured return and refund policy terms from a public webpage. $0.03 USDC /v1/extract-return-policy
/x402/v1/extract-return-policy
extract_return_policy
extractReturnPolicy()
extract_subscription_terms Extract structured subscription, trial, renewal, cancellation, and billing terms from a public webpage. $0.04 USDC /v1/extract-subscription-terms
/x402/v1/extract-subscription-terms
extract_subscription_terms
extractSubscriptionTerms()

AgentTrust Pack

Safety and provenance tools for web ingestion, prompt-injection risk checks, claim verification, and page proofs.

ToolUse it forReference
safe_fetch_url Use before ingesting raw webpage content into an AI agent context. Full tool page
check_prompt_injection_risk Use before treating external webpage, email, document, or tool output text as trusted task context. Full tool page
verify_claim_against_source Use before citing a webpage as evidence for a claim in agent-generated research or writing. Full tool page
create_page_proof Use before acting on price, policy, availability, or source content that may need an audit trail. Full tool page

Commerce Pack

Policy extraction tools for return policies and subscription terms.

ToolUse it forReference
extract_return_policy Use before a shopping or browser agent recommends, compares, or purchases a product. Full tool page
extract_subscription_terms Use before a shopping, SaaS-buying, browser, or research agent recommends, purchases, or summarizes a subscription product. Full tool page