{"name":"FiatDock","description":"Function-calling tool declarations for frameworks without MCP. Same four tools as the fiatdock-mcp package, mapped 1:1 to the REST API at https://fiatdock.com (full spec: /openapi.json). Paid endpoints answer HTTP 402 (x402) until paid — $0.05 USDC on base-sepolia.","compliance":"COMPLIANCE (binding): own-account rule — the sending wallet and the receiving bank account must belong to the SAME person (the agent's owner); no third-party funds, no aggregation, no P2P transfers. 18+; Portugal + Transak-supported EU/EEA countries (NOT the UK). Crypto is volatile; not investment advice.","openai_tools":[{"type":"function","function":{"name":"get_quote","description":"Free quote before paying: exchange rate, total fees (all itemised, incl. the 1% service commission), and amount received. Quotes are indicative, not guaranteed.","parameters":{"type":"object","properties":{"side":{"type":"string","enum":["SELL","BUY"],"description":"SELL = USDC->fiat, BUY = fiat->USDC. Default SELL."},"cryptoAmount":{"type":"number","description":"USDC amount (required for SELL)"},"fiatAmount":{"type":"number","description":"Fiat amount (for BUY)"},"fiatCurrency":{"type":"string","description":"default EUR"},"network":{"type":"string","description":"default base"}},"required":[]}}},{"type":"function","function":{"name":"create_offramp_session","description":"Convert the agent's USDC to fiat in the owner's OWN bank account. Returns a one-time checkoutUrl (forward to the human owner; valid 5 minutes, single use) and a partnerOrderId. Paid: $0.05 USDC via x402 — the first call answers HTTP 402 with exact payment requirements. COMPLIANCE (binding): own-account rule — the sending wallet and the receiving bank account must belong to the SAME person (the agent's owner); no third-party funds, no aggregation, no P2P transfers. 18+; Portugal + Transak-supported EU/EEA countries (NOT the UK). Crypto is volatile; not investment advice.","parameters":{"type":"object","properties":{"cryptoAmount":{"type":"number","description":"USDC amount to sell"},"fiatCurrency":{"type":"string","description":"e.g. EUR, default EUR"},"network":{"type":"string","description":"USDC network, default base"},"email":{"type":"string","description":"Owner's Transak account email"},"customerId":{"type":"string","description":"Stable agent/customer id"},"callbackUrl":{"type":"string","description":"Optional public https URL POSTed on every status change, HMAC-signed (callbackSecret returned once)"},"ref":{"type":"string","description":"Optional referral code (1-64 chars: letters, digits, _ or -)"}},"required":["cryptoAmount"]}}},{"type":"function","function":{"name":"create_onramp_session","description":"Buy USDC with the owner's OWN fiat and deliver it to the agent's wallet (address locked). Returns checkoutUrl + partnerOrderId. Paid: $0.05 USDC via x402 — the first call answers HTTP 402 with exact payment requirements. COMPLIANCE (binding): own-account rule — the sending wallet and the receiving bank account must belong to the SAME person (the agent's owner); no third-party funds, no aggregation, no P2P transfers. 18+; Portugal + Transak-supported EU/EEA countries (NOT the UK). Crypto is volatile; not investment advice.","parameters":{"type":"object","properties":{"fiatAmount":{"type":"number","description":"Fiat amount to spend"},"walletAddress":{"type":"string","description":"Agent wallet that receives USDC"},"fiatCurrency":{"type":"string","description":"e.g. EUR, default EUR"},"network":{"type":"string","description":"USDC network, default base"},"email":{"type":"string","description":"Owner's Transak account email"},"customerId":{"type":"string","description":"Stable agent/customer id"},"callbackUrl":{"type":"string","description":"Optional public https URL POSTed on every status change, HMAC-signed (callbackSecret returned once)"},"ref":{"type":"string","description":"Optional referral code (1-64 chars: letters, digits, _ or -)"}},"required":["fiatAmount","walletAddress"]}}},{"type":"function","function":{"name":"get_order_status","description":"Check the status of an on/off-ramp order by partnerOrderId (free).","parameters":{"type":"object","properties":{"partnerOrderId":{"type":"string","description":"id returned when the session was created"}},"required":["partnerOrderId"]}}}],"gemini_function_declarations":[{"name":"get_quote","description":"Free quote before paying: exchange rate, total fees (all itemised, incl. the 1% service commission), and amount received. Quotes are indicative, not guaranteed.","parameters":{"type":"object","properties":{"side":{"type":"string","enum":["SELL","BUY"],"description":"SELL = USDC->fiat, BUY = fiat->USDC. Default SELL."},"cryptoAmount":{"type":"number","description":"USDC amount (required for SELL)"},"fiatAmount":{"type":"number","description":"Fiat amount (for BUY)"},"fiatCurrency":{"type":"string","description":"default EUR"},"network":{"type":"string","description":"default base"}},"required":[]}},{"name":"create_offramp_session","description":"Convert the agent's USDC to fiat in the owner's OWN bank account. Returns a one-time checkoutUrl (forward to the human owner; valid 5 minutes, single use) and a partnerOrderId. Paid: $0.05 USDC via x402 — the first call answers HTTP 402 with exact payment requirements. COMPLIANCE (binding): own-account rule — the sending wallet and the receiving bank account must belong to the SAME person (the agent's owner); no third-party funds, no aggregation, no P2P transfers. 18+; Portugal + Transak-supported EU/EEA countries (NOT the UK). Crypto is volatile; not investment advice.","parameters":{"type":"object","properties":{"cryptoAmount":{"type":"number","description":"USDC amount to sell"},"fiatCurrency":{"type":"string","description":"e.g. EUR, default EUR"},"network":{"type":"string","description":"USDC network, default base"},"email":{"type":"string","description":"Owner's Transak account email"},"customerId":{"type":"string","description":"Stable agent/customer id"},"callbackUrl":{"type":"string","description":"Optional public https URL POSTed on every status change, HMAC-signed (callbackSecret returned once)"},"ref":{"type":"string","description":"Optional referral code (1-64 chars: letters, digits, _ or -)"}},"required":["cryptoAmount"]}},{"name":"create_onramp_session","description":"Buy USDC with the owner's OWN fiat and deliver it to the agent's wallet (address locked). Returns checkoutUrl + partnerOrderId. Paid: $0.05 USDC via x402 — the first call answers HTTP 402 with exact payment requirements. COMPLIANCE (binding): own-account rule — the sending wallet and the receiving bank account must belong to the SAME person (the agent's owner); no third-party funds, no aggregation, no P2P transfers. 18+; Portugal + Transak-supported EU/EEA countries (NOT the UK). Crypto is volatile; not investment advice.","parameters":{"type":"object","properties":{"fiatAmount":{"type":"number","description":"Fiat amount to spend"},"walletAddress":{"type":"string","description":"Agent wallet that receives USDC"},"fiatCurrency":{"type":"string","description":"e.g. EUR, default EUR"},"network":{"type":"string","description":"USDC network, default base"},"email":{"type":"string","description":"Owner's Transak account email"},"customerId":{"type":"string","description":"Stable agent/customer id"},"callbackUrl":{"type":"string","description":"Optional public https URL POSTed on every status change, HMAC-signed (callbackSecret returned once)"},"ref":{"type":"string","description":"Optional referral code (1-64 chars: letters, digits, _ or -)"}},"required":["fiatAmount","walletAddress"]}},{"name":"get_order_status","description":"Check the status of an on/off-ramp order by partnerOrderId (free).","parameters":{"type":"object","properties":{"partnerOrderId":{"type":"string","description":"id returned when the session was created"}},"required":["partnerOrderId"]}}],"rest_mapping":{"get_quote":{"method":"GET","path":"/v1/quote","args":"query","paid":false},"create_offramp_session":{"method":"POST","path":"/v1/offramp/session","args":"json-body","paid":true},"create_onramp_session":{"method":"POST","path":"/v1/onramp/session","args":"json-body","paid":true},"get_order_status":{"method":"GET","path":"/v1/orders/{partnerOrderId}","args":"path","paid":false}},"examples":"https://fiatdock.com/llms-full.txt"}