nodus_verify_signal
Retrieve grounding sources to verify Oracle reasoning for prediction market signals by providing a query ID from previous signal calls.
Instructions
Retrieve grounding sources for a past signal to verify the Oracle's reasoning.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queryId | Yes | queryId from a previous nodus_get_signal call |
Implementation Reference
- src/tools/index.js:158-182 (handler)The handler function that executes the logic for verifying a signal by queryId.
export async function nodusVerifySignal({ queryId }) { if (!queryId) return err("queryId is required"); const all = getAllQueries(1000); const entry = all.find(q => q.id === queryId); if (!entry) return err(`Query ${queryId} not found`); if (!entry.success || !entry.signal) return ok({ queryId, verified: false, reason: "No signal for this query" }); return ok({ queryId, verified: true, marketUrl: entry.marketUrl, platform: entry.platform, desiredOutcome: entry.desiredOutcome || null, timestamp: entry.timestamp, signal: { market_name: entry.signal.market_name, predicted_outcome: entry.signal.predicted_outcome, probability: entry.signal.probability, confidence_score: entry.signal.confidence_score, key_reasoning: entry.signal.key_reasoning, }, grounding_sources: entry.signal.grounding_sources, note: "Verify these sources independently to audit the Oracle's reasoning.", }); }