oracle_grounding
Fetches live web facts as structured JSON, then cryptographically signs them with an on-chain verifiable EIP-712 attestation for smart contracts needing tamper-proof ground truth.
Instructions
Executes real-time web search, noise-free markdown extraction, Gemini AI JSON structuring, and cryptographically signs the result with an on-chain verifiable EIP-712 attestation (0.035 USDC).
Usage Guidelines:
Use this tool when an autonomous agent or smart contract requires verified, tamper-proof ground truth from the live web.
Returns: Structured facts JSON, human/LLM readable summary markdown, source URLs, and EIP-712 cryptographic signature (v, r, s).
Smart contracts can verify this off-chain or on-chain using CleanWebOracleVerifier.sol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search topic or question to ground with live web sources (e.g., 'Latest Fed interest rate decision'). | |
| max_sources | No | Number of web sources to synthesize (1 to 5, default: 3). | |
| auth_token_or_tx | No | Optional x402 micropayment authorization token or EVM transaction hash. | |
| target_schema_json | No | Optional JSON string defining the expected schema or fields (e.g., '{"rate": "float", "date": "string"}'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |