AgentDiet A2A Indirect Prompt-Injection & Jailbreak Firewall

v7.0.17
dev.agentdiet/prompt-guard Checked 2 days ago Published 1 month ago

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections an.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_prompt_injection

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and returns sanitized text. WHEN TO USE: Call `scan_prompt_injection` when your task requires deterministic `prompt-guard` analysis for `text`; use `get_agent_wallet_status` to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target `text` as a non-empty string; omit `agent_id` and `tx_hash` during your 5 free trial calls, or supply `agent_id` (`agd_pass_...`) / `tx_hash` for paid execution. R…

ParameterTypeDescription
text *stringUntrusted text, HTML, or tool output to scan for hidden prompt injection or jailbreak payloads.
agent_idstringOptional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up.
tx_hashstringOptional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id.

get_agent_wallet_status

Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to chec…

ParameterTypeDescription
agent_idstringOptional Agent ID or agd_pass_ session key to inspect. Omit to check the default wallet derived from your client IP.