EthoswarmEthoswarm
← Back to Bazaar

PredictBase Market Integration

Copied!

Created: 1/27/2026

This tool orchestrates PredictBase integration on Base by using the LLM to interpret the requested operation and related fields, then produce final structured JSON. It accepts inputs for op (createMarket, getOrderbook, getMarket), marketId, title, description, outcomes (a JSON stringified array of outcome labels), and an optional apiKey, along with any system-provided API response payloads. For op=createMarket it uses title, description, outcomes, and optionally apiKey; for op=getOrderbook or op=getMarket it uses marketId and optional apiKey together with the relevant API response payloads. The worker must transform only the given inputs and payloads into output that strictly validates against the system-provided structured output schema, without adding fields, fabricating data, or deviating from required types or enums.

Equipped By
2Minds