{"name":"SimPig eSIMs","description":"SimPig’s travel eSIM shop over Agent2Agent: the catalogue of data plans for 200+ countries, starting an order for a buyer’s email (the answer is a Stripe pay link for the buyer), and reading a paid order’s install details with its order token. Requests are structured, not conversational: a data part { \"skill\": \"<id>\", \"input\": { … } }. A plain-text message is taken as a question about SimPig and answered from the site’s own pages (installing, coverage, refunds, how plans work); it never buys or changes anything. No sign-in, no API key. One whole request: {\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"search_destinations\",\"input\":{\"query\":\"Bali\"}}}]}}} . The answer is { \"jsonrpc\": \"2.0\", \"id\": 1, \"result\": { \"message\": { \"role\": \"ROLE_AGENT\", \"parts\": [ { \"data\": { \"skill\": \"search_destinations\", \"result\": { … } } } ] } } }.","version":"1.0.0","supportedInterfaces":[{"url":"https://simpig.com/api/a2a","protocolBinding":"JSONRPC","protocolVersion":"1.0"}],"provider":{"organization":"SimPig","url":"https://simpig.com"},"documentationUrl":"https://simpig.com/agents.md","iconUrl":"https://simpig.com/brand/pig-pink.svg","capabilities":{"streaming":false,"pushNotifications":false,"extendedAgentCard":false},"defaultInputModes":["application/json","text/plain"],"defaultOutputModes":["application/json","text/plain"],"skills":[{"id":"search_destinations","name":"Search destinations","description":"Where SimPig sells eSIMs: countries and regions with the number of plans and the cheapest price. `query` filters by a country name, code or alias such as \"Bali\". Every price carries its `currency` and is in that currency’s minor unit (cents; whole yen for JPY). `currency` prices in another (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY); one not on offer answers in the shop currency.","tags":["esim","travel","catalogue"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"search_destinations\",\"input\":{\"query\":\"Bali\"}}}]}}}","{\"skill\":\"search_destinations\",\"input\":{\"query\":\"Bali\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"list_plans","name":"List plans","description":"The plans for one destination (code or slug, e.g. \"JP\" or \"japan\"): data volume in bytes, validity in days, price in minor units, whether the plan is regional (covers more countries), `coverage`: the networks in the country asked about, with its ISO 3166 alpha-2 and alpha-3 codes, `breakout`: where its traffic reaches the internet, and `prices`: the plan in every currency on offer, each what that currency’s checkout charges. A plan’s `productId` is what start_order takes.","tags":["esim","travel","catalogue"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"list_plans\",\"input\":{\"destination\":\"JP\"}}}]}}}","{\"skill\":\"list_plans\",\"input\":{\"destination\":\"JP\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"plans_covering","name":"Plans covering","description":"For a multi-stop trip (1–8 ISO codes such as [\"JP\",\"KR\",\"TH\"]): `covering` is every plan whose coverage includes all of them (one eSIM for the whole trip); `singles` is each country’s own plans, one plan per country where nothing covers them all. A covering plan is a single eSIM and a single install.","tags":["esim","travel","catalogue"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"plans_covering\",\"input\":{\"destinations\":[\"JP\",\"KR\",\"TH\"]}}}]}}}","{\"skill\":\"plans_covering\",\"input\":{\"destinations\":[\"JP\",\"KR\",\"TH\"]}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"get_plan","name":"Get plan","description":"One plan by productId, with `coverage`: every country it works in (ISO 3166 alpha-2 and alpha-3) and the networks there, with their generation; `breakout`: where its traffic reaches the internet; `prices`: the plan in every currency on offer.","tags":["esim","travel","catalogue"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"get_plan\",\"input\":{\"productId\":\"00000000-0000-4000-8000-000000000000\"}}}]}}}","{\"skill\":\"get_plan\",\"input\":{\"productId\":\"00000000-0000-4000-8000-000000000000\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"start_order","name":"Start order","description":"Starts an order for a buyer’s email and a productId. The answer has payUrl (Stripe’s page, where the buyer pays by card, Apple Pay or Google Pay), statusUrl, and orderToken, which is returned only in this answer and is what order_status takes. Nothing is charged until the buyer pays. A repeated idempotencyKey returns the same order instead of a second one. callbackUrl (https, optional) is POSTed {ref, status, statusUrl} when the eSIM is ready. poolCode (optional; the six-character code of a mates link, simpig.com/pool/<code>) buys at mates rates: one eSIM for that link’s trip, the card held at full price, the discounted price taken when the link closes. startPool: true (optional) starts a new mates link with this purchase instead.","tags":["esim","travel","commerce"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"start_order\",\"input\":{\"email\":\"traveller@example.com\",\"productId\":\"00000000-0000-4000-8000-000000000000\",\"idempotencyKey\":\"your-unique-key\"}}}]}}}","{\"skill\":\"start_order\",\"input\":{\"email\":\"traveller@example.com\",\"productId\":\"00000000-0000-4000-8000-000000000000\",\"idempotencyKey\":\"your-unique-key\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"order_status","name":"Order status","description":"The order by ref and orderToken: status (pending_payment, paid, provisioning, fulfilled, partially_fulfilled, failed, refunded, cancelled, expired), payUrl while unpaid, and once fulfilled esims[].install with iosInstallUrl / androidInstallUrl (one tap), ac (the LPA string; a QR code of it installs the eSIM) and the manual SM-DP+ address, matching id and confirmation code. For an order in a pool: pool (code, status, closesAt, tierBps, membersPaid), captureState (authorised while the card is held) and paidMinor once the pool has closed and the final price was taken.","tags":["esim","travel","commerce"],"examples":["{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"m-1\",\"role\":\"ROLE_USER\",\"parts\":[{\"data\":{\"skill\":\"order_status\",\"input\":{\"ref\":\"AB12CD34\",\"orderToken\":\"<the orderToken start_order returned>\"}}}]}}}","{\"skill\":\"order_status\",\"input\":{\"ref\":\"AB12CD34\",\"orderToken\":\"<the orderToken start_order returned>\"}}"],"inputModes":["application/json"],"outputModes":["application/json"]},{"id":"ask","name":"Ask about SimPig","description":"A question in plain words about SimPig, answered from the site’s own pages with the pages it used: installing an eSIM, when a plan starts, coverage, refunds, mates rates. Taken as a text part, or as { \"skill\": \"ask\", \"input\": { \"question\": \"…\" } }. Prices in an answer are \"from\" prices; list_plans has each plan’s own. It cannot buy or look up an order. Limited to a few questions a minute.","tags":["esim","travel","help"],"examples":["How do I install the eSIM on an iPhone?","Does the plan start when I buy it or when I land?","{\"skill\":\"ask\",\"input\":{\"question\":\"How do I install the eSIM on an iPhone?\"}}"],"inputModes":["text/plain","application/json"],"outputModes":["text/plain","application/json"]}]}