{"uid":"cap_dDnXH506qJhge-NBpXu0a","slug":"pokedexter-battle-move-submission-e78d03b7","name":"Pokedexter Battle Move Submission","description":"Submit a move in your Pokedexter battle","url":"https://x402.dexter.cash/api/pokedexter/battles/:battleId/move","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"choice":{"type":"string","description":"Your battle action: \"move 1\", \"move 2\", \"switch 3\", \"move 1 terastallize\", etc."}}},"responseSchema":{"ok":{"type":"boolean"},"battleId":{"type":"string","description":"Battle room ID."},"submitted":{"type":"string","description":"The choice that was submitted."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VTLzdgBYZOqSbicfp7Rf0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submit a move or action (attack, switch, terastallize) in an active Pokedexter Pokémon battle by battle ID","exampleAgentPrompt":"In my Pokedexter battle (battle ID: abc123), submit 'move 1 terastallize' as my next action.","exampleUseCases":null,"resultDescription":"Returns a JSON object with 'ok' (boolean success flag), the 'battleId' confirming which battle room was affected, and 'submitted' echoing back the exact choice string that was accepted by the battle engine.","failureModes":["Invalid battleId returns an error or ok: false","Malformed choice string (e.g. unsupported move syntax) rejected","Battle already ended or not in move-input phase","Payment of $0.01 USDC not fulfilled triggers 402 response","Rate limiting or network timeout on submission"],"whenToPreferThis":"Use this endpoint when an AI agent or player needs to programmatically submit a turn action during an active Pokedexter battle session. Prefer this over any battle-state read endpoint when the intent is to act (not just observe). Pair with the 'Get current Pokedexter battle state' endpoint to determine valid moves before submitting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:34.028Z","isFirstParty":false}