{"openapi":"3.1.0","info":{"title":"Tona · The Open Network Adapter","version":"1.0.0","description":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits. Sample payload for schema reference only. Live responses come strictly from verified upstream providers. Google sign-in authenticates your Tona workspace account only. Future Google Analytics 4 (GA4) access is a separate user-authorized OAuth data connection."},"x-billing-rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","x-empty-page-billed":true,"x-error-codes":[{"code":"invalid_agent_key","status":401,"meaning":"Missing, malformed, or revoked Tona agent key.","remediation":"Issue an active key at /workspace/keys and pass Authorization: Bearer tona_<key>."},{"code":"unknown_tool","status":404,"meaning":"Requested tool identifier does not exist in the catalog.","remediation":"Inspect GET /api/v1/tools for valid tool identifiers."},{"code":"invalid_arguments","status":400,"meaning":"Input JSON did not match the tool input_schema.","remediation":"Validate arguments against input_schema in GET /api/v1/tools or GET /api/v1/openapi.json."},{"code":"invalid_idempotency_key","status":400,"meaning":"Idempotency-Key header or idempotency_key argument was empty or longer than 200 characters.","remediation":"Pass a non-empty string up to 200 characters per logical page invocation."},{"code":"service_not_selected","status":403,"meaning":"Service has not been enabled for this workspace.","remediation":"Open /workspace/services/{id} and enable the service for your workspace."},{"code":"upgrade_required","status":403,"meaning":"Workspace tier does not meet the minimum_tier for this service.","remediation":"Check minimum_tier in GET /api/v1/workspace."},{"code":"provisioning","status":503,"meaning":"Service is selected in this workspace but still awaiting operator credential verification, published price, or pending upstream contract.","remediation":"Poll GET /api/v1/workspace until the service status is \"ready\". 0 credits are charged."},{"code":"insufficient_credits","status":402,"meaning":"Available credit balance is below credits_per_page.","remediation":"Purchase a credit pack or redeem a promo code at /workspace/billing."},{"code":"idempotency_conflict","status":409,"meaning":"Same Idempotency-Key was reused with different arguments on the same agent key.","remediation":"Generate a fresh Idempotency-Key whenever tool arguments change."},{"code":"in_progress","status":409,"meaning":"An identical request with this Idempotency-Key is still running.","remediation":"Wait for the in-flight call to complete before retrying."},{"code":"upstream_failed","status":502,"meaning":"Upstream provider failed or returned an invalid payload.","remediation":"Reserved credits were released (0 credits charged). Retry with a new Idempotency-Key."}],"x-future-connections":[{"id":"google_analytics_ga4","name":"Google Analytics 4 (GA4)","auth_mode":"user_oauth","status":"planned","description":"Google sign-in authenticates your Tona workspace account only. Future Google Analytics 4 (GA4) access is a separate user-authorized OAuth data connection."}],"servers":[{"url":"https://tona.app/api/v1"}],"components":{"securitySchemes":{"agentKey":{"type":"http","scheme":"bearer"}},"schemas":{"GatewayError":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false}}},"paths":{"/tools":{"get":{"operationId":"list_tools","summary":"List all catalog services, schemas, prices, page limits, and availability","description":"Public discovery endpoint. Does not require authentication or spend credits.","responses":{"200":{"description":"Catalog tool descriptors with input/output schemas and sample payloads","content":{"application/json":{"example":[{"id":"x_search_posts","name":"X post search","provider":"rapidapi","listing":"Tweet API","listing_url":"https://rapidapi.com/restocked-gAGxip8a_/api/twitter-api47","adapter_ready":true,"description":"Find recent public X posts by keyword. Returns one upstream page with a continuation cursor.","price":"0.0152","page_limit":null,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"ready","minimum_tier":"FREE","returned_fields":["id","text","url","author","likes","published_at"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","text","url","author","likes","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"wireless charger"},"mcp_example":{"name":"x_search_posts","arguments":{"query":"wireless charger","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","text":"Testing a wireless charger.","url":"https://x.com/i/status/123","author":"example","likes":7,"published_at":null}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"x_user_profile","name":"X account profile","provider":"rapidapi","listing":"Tweet API","listing_url":"https://rapidapi.com/restocked-gAGxip8a_/api/twitter-api47","adapter_ready":true,"description":"Look up a public X account by username. Returns its numeric ID, bio, follower and following counts.","price":"0.0152","page_limit":1,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"ready","minimum_tier":"FREE","returned_fields":["id","username","name","bio","followers","following","url"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"username":{"type":"string","pattern":"^\\w{1,15}$","description":"X username without @."}},"required":["username"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}]},"followers":{"anyOf":[{"type":"number"},{"type":"null"}]},"following":{"anyOf":[{"type":"number"},{"type":"null"}]},"url":{"type":"string","format":"uri"}},"required":["id","username","name","bio","followers","following","url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"username":"NASA"},"mcp_example":{"name":"x_user_profile","arguments":{"username":"NASA","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","username":"example","name":"Sample creator","bio":"Product reviews","followers":325,"following":54,"url":"https://x.com/example"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"x_user_timeline","name":"X account timeline","provider":"rapidapi","listing":"Tweet API","listing_url":"https://rapidapi.com/restocked-gAGxip8a_/api/twitter-api47","adapter_ready":true,"description":"Read a public account’s posts by numeric user ID. Use X account profile to resolve a username.","price":"0.0152","page_limit":null,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"ready","minimum_tier":"FREE","returned_fields":["id","text","url","author","likes","published_at"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"user_id":{"type":"string","pattern":"^\\d{1,20}$","description":"Numeric X account ID, as a string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["user_id"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","text","url","author","likes","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"user_id":"11348282"},"mcp_example":{"name":"x_user_timeline","arguments":{"user_id":"11348282","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","text":"Testing a wireless charger.","url":"https://x.com/i/status/123","author":"example","likes":7,"published_at":null}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"x_trending_topics","name":"X trending topics","provider":"rapidapi","listing":"Tweet API","listing_url":"https://rapidapi.com/restocked-gAGxip8a_/api/twitter-api47","adapter_ready":true,"description":"Read ranked X trends worldwide or in a supported country. Volume is null when X does not publish it.","price":"0.0152","page_limit":null,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"ready","minimum_tier":"FREE","returned_fields":["rank","name","query","volume","location","as_of"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"description":"Two-letter country code. Omit for worldwide trends.","type":"string","pattern":"^[A-Z]{2}$"}},"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"type":"string"},"query":{"type":"string"},"volume":{"anyOf":[{"type":"number"},{"type":"null"}]},"location":{"type":"string"},"as_of":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["rank","name","query","volume","location","as_of"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"country":"US"},"mcp_example":{"name":"x_trending_topics","arguments":{"country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"rank":1,"name":"#ProductLaunch","query":"#ProductLaunch","volume":null,"location":"United States","as_of":null}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"x_search_communities","name":"X community search","provider":"rapidapi","listing":"Tweet API","listing_url":"https://rapidapi.com/restocked-gAGxip8a_/api/twitter-api47","adapter_ready":true,"description":"Discover public X communities by topic or keyword with member counts and original community links.","price":"0.0152","page_limit":null,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"ready","minimum_tier":"FREE","returned_fields":["id","name","topic","members","url"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}]},"members":{"anyOf":[{"type":"number"},{"type":"null"}]},"url":{"type":"string","format":"uri"}},"required":["id","name","topic","members","url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"ecommerce"},"mcp_example":{"name":"x_search_communities","arguments":{"query":"ecommerce","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","name":"Sample sellers","topic":"Commerce","members":350,"url":"https://x.com/i/communities/123"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"youtube_search_videos","name":"YouTube video search","provider":"rapidapi","listing":"YT-API","listing_url":"https://rapidapi.com/ytjar/api/yt-api","adapter_ready":true,"description":"Find YouTube videos for a topic. Returns one upstream search page (up to 20 videos) with video IDs, titles, channel names, and watch URLs.","price":"0.0047","page_limit":20,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["id","title","url","channel"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","title","url","channel"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"wireless charger review"},"mcp_example":{"name":"youtube_search_videos","arguments":{"query":"wireless charger review","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0047","data":{"items":[{"id":"example0001","title":"Wireless charger comparison","url":"https://www.youtube.com/watch?v=example0001","channel":"Example channel"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"amazon_reverse_keywords","name":"Amazon ASIN reverse keywords","provider":"ziniao","listing":"Ziniao Open Platform","listing_url":"https://open.ziniao.com/","adapter_ready":false,"description":"Requestable catalog service for ASIN traffic keywords via Ziniao Open Platform. Remains pending until the official provider endpoint contract and credentials are verified; never returns mock data or charges credits while pending.","price":null,"page_limit":null,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["keyword","search_volume"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"marketplace":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter marketplace code, for example US."},"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B012345678."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["marketplace","asin"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string"},"search_volume":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["keyword","search_volume"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"asin":"B012345678","marketplace":"US"},"mcp_example":{"name":"amazon_reverse_keywords","arguments":{"asin":"B012345678","marketplace":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0","data":{"items":[{"keyword":"wireless charger","search_volume":null}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"tiktok_search_videos","name":"TikTok video search","provider":"rapidapi","listing":"TikTok Scraper","listing_url":"https://rapidapi.com/tikwm-tikwm-default/api/tiktok-scraper7","adapter_ready":true,"description":"Discover public videos by keyword and region. Returns up to 10 videos per page with captions, creators, views, likes, and video URLs.","price":"0.0016","page_limit":10,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["id","caption","creator","url","views","likes"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"cursor":{"description":"Numeric pagination cursor returned as next_cursor by the previous page.","type":"string","pattern":"^\\d{1,16}$"}},"required":["query","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"caption":{"type":"string"},"creator":{"type":"string"},"url":{"type":"string","format":"uri"},"views":{"anyOf":[{"type":"number"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","caption","creator","url","views","likes"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"},"mcp_example":{"name":"tiktok_search_videos","arguments":{"query":"wireless earbuds","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0016","data":{"items":[{"id":"7400000000000000001","caption":"Earbuds on the commute","creator":"example","url":"https://www.tiktok.com/@example/video/7400000000000000001","views":12500,"likes":840}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"tiktok_top_ads","name":"TikTok top ads","provider":"rapidapi","listing":"TikTok Scraper","listing_url":"https://rapidapi.com/tikwm-tikwm-default/api/tiktok-scraper7","adapter_ready":true,"description":"Find public ad creatives for a market and lookback window. Returns up to 20 creatives per page with IDs, titles, brands, objectives, and likes.","price":"0.0016","page_limit":20,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["id","title","brand","objective","likes"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"days":{"description":"Lookback window in days (7, 30, or 180). Defaults to 30.","anyOf":[{"type":"number","const":7},{"type":"number","const":30},{"type":"number","const":180}]},"cursor":{"description":"Next page cursor returned as next_cursor by the previous page.","type":"string","pattern":"^[1-9]\\d{0,5}$"}},"required":["country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}]},"objective":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","title","brand","objective","likes"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"country":"US","days":30},"mcp_example":{"name":"tiktok_top_ads","arguments":{"country":"US","days":30,"idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.0016","data":{"items":[{"id":"7500000000000000001","title":"Sound for the commute","brand":"Example Audio","objective":"campaign_objective_video_view","likes":460}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"amazon_search_products","name":"Amazon product search","provider":"rapidapi","listing":"Real-Time Amazon Data","listing_url":"https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-amazon-data","adapter_ready":true,"description":"Search a national Amazon marketplace by keyword and page number. Returns one marketplace search page (up to 48 listings) with ASINs, titles, prices, ratings, and listing URLs.","price":"0.2","page_limit":48,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["asin","title","url","price","rating"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"page":{"description":"One-based page number, starting at 1.","type":"integer","minimum":1,"maximum":100}},"required":["query","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"rating":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["asin","title","url","price","rating"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"},"mcp_example":{"name":"amazon_search_products","arguments":{"query":"wireless earbuds","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"asin":"B09G9FPHY6","title":"Sample earbuds","url":"https://www.amazon.com/dp/B09G9FPHY6","price":"$59.99","rating":"4.5"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"amazon_product_details","name":"Amazon product details","provider":"rapidapi","listing":"Real-Time Amazon Data","listing_url":"https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-amazon-data","adapter_ready":true,"description":"Inspect a single Amazon listing by ASIN and country. Returns 1 listing item with displayed price, availability, rating, and rating count.","price":"0.2","page_limit":1,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["asin","title","url","price","rating","availability","ratings_count"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["asin","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"rating":{"anyOf":[{"type":"string"},{"type":"null"}]},"availability":{"anyOf":[{"type":"string"},{"type":"null"}]},"ratings_count":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["asin","title","url","price","rating","availability","ratings_count"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"asin":"B09G9FPHY6","country":"US"},"mcp_example":{"name":"amazon_product_details","arguments":{"asin":"B09G9FPHY6","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"asin":"B09G9FPHY6","title":"Sample earbuds","url":"https://www.amazon.com/dp/B09G9FPHY6","price":"$59.99","rating":"4.5","availability":"In Stock","ratings_count":321}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"amazon_product_reviews","name":"Amazon product reviews","provider":"rapidapi","listing":"Real-Time Amazon Data","listing_url":"https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-amazon-data","adapter_ready":true,"description":"Read one page of buyer reviews (up to 10 reviews) for an ASIN. Returns review IDs, titles, comment text, star ratings, and verified-purchase flags.","price":"0.2","page_limit":10,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["id","title","text","stars","verified_purchase"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"page":{"description":"One-based page number, starting at 1.","type":"integer","minimum":1,"maximum":100}},"required":["asin","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"stars":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified_purchase":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["id","title","text","stars","verified_purchase"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"asin":"B09G9FPHY6","country":"US"},"mcp_example":{"name":"amazon_product_reviews","arguments":{"asin":"B09G9FPHY6","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"id":"R123EXAMPLE","title":"Comfortable fit","text":"Stayed in place on my commute.","stars":"4","verified_purchase":true}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"shopping_search_products","name":"Google Shopping product search","provider":"rapidapi","listing":"Real-Time Product Search","listing_url":"https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-product-search","adapter_ready":true,"description":"Find competing retail offers on Google Shopping. Returns up to 10 matching products per page with product IDs, titles, store names, prices, and offer URLs.","price":"0.2","page_limit":10,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["id","title","store","price","offer_url"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["query","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"store":{"anyOf":[{"type":"string"},{"type":"null"}]},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"offer_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["id","title","store","price","offer_url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"},"mcp_example":{"name":"shopping_search_products","arguments":{"query":"wireless earbuds","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"id":"example-product","title":"Wireless earbuds","store":"Example Audio","price":"$49.00","offer_url":"https://example.com/earbuds"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."},{"id":"news_search_articles","name":"Brand news search","provider":"rapidapi","listing":"Real-Time News Data","listing_url":"https://rapidapi.com/letscrape-6bRBa3QguO5/api/real-time-news-data","adapter_ready":true,"description":"Monitor English-language coverage by keyword and country. Returns up to 10 articles per page with headlines, publishers, publication timestamps, and source URLs.","price":"0.2","page_limit":10,"empty_page_billed":true,"billing_rule":"Each successful invocation returns one upstream page and charges credits_per_page, including valid empty pages (items: []). Failed upstream calls release the credit hold and charge 0 credits.","availability":"unavailable","minimum_tier":"FREE","returned_fields":["title","url","publisher","published_at"],"input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["query","country"],"additionalProperties":false},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["title","url","publisher","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"query":"retail media","country":"US"},"mcp_example":{"name":"news_search_articles","arguments":{"query":"retail media","country":"US","idempotency_key":"req_sample_001"}},"example_response":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"title":"Retail media report","url":"https://example.com/retail-report","publisher":"Example News","published_at":"2026-03-01T12:00:00Z"}],"next_cursor":null}},"sample_note":"Sample payload for schema reference only. Live responses come strictly from verified upstream providers."}]}}}}}},"/workspace":{"get":{"operationId":"get_workspace","summary":"Check available credits and provisioning status of workspace services","description":"Free authenticated discovery. Only services with status \"ready\" can be called.","security":[{"agentKey":[]}],"responses":{"200":{"description":"Workspace status, available credits, next step hint, and selected services","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"status":{"type":"string","enum":["selection_required","provisioning","upgrade_required","ready"]},"credits":{"type":"string"},"next_step":{"anyOf":[{"type":"string"},{"type":"null"}]},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["x_search_posts","x_user_profile","x_user_timeline","x_trending_topics","x_search_communities","youtube_search_videos","amazon_reverse_keywords","tiktok_search_videos","tiktok_top_ads","amazon_search_products","amazon_product_details","amazon_product_reviews","shopping_search_products","news_search_articles"]},"status":{"type":"string","enum":["provisioning","upgrade_required","ready"]},"availability":{"type":"string","enum":["ready","unavailable"]},"minimum_tier":{"type":"string","enum":["FREE","STARTER","PRO","ELITE"]},"credits_per_page":{"anyOf":[{"type":"string"},{"type":"null"}]},"page_limit":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"empty_page_billed":{"type":"boolean","const":true},"adapter_ready":{"type":"boolean"}},"required":["id","status","availability","minimum_tier","credits_per_page","page_limit","empty_page_billed","adapter_ready"],"additionalProperties":false}}},"required":["status","credits","next_step","services"],"additionalProperties":false},"example":{"status":"provisioning","credits":"100","next_step":"Selected services are provisioning. Poll GET /api/v1/workspace until a service reaches status \"ready\".","services":[{"id":"amazon_reverse_keywords","status":"provisioning","availability":"unavailable","minimum_tier":"FREE","credits_per_page":null,"page_limit":null,"empty_page_billed":true,"adapter_ready":false}]}}}},"401":{"description":"Missing, malformed, or revoked Tona agent key","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"invalid_agent_key","message":"Missing Authorization header. Issue an agent key at /workspace/keys and send Authorization: Bearer tona_<key>."}}}}}}},"/tools/x_search_posts":{"post":{"operationId":"x_search_posts","summary":"X post search","description":"Find recent public X posts by keyword. Returns one upstream page with a continuation cursor. Page limit: one upstream response. Returned fields: id, text, url, author, likes, published_at. Price per page: 0.0152 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0152","x-page-limit":null,"x-empty-page-billed":true,"x-availability":"ready","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","text","url","author","likes","published_at"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"example":{"query":"wireless charger"}}}},"responses":{"200":{"description":"One upstream page (up to pending items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","text","url","author","likes","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","text":"Testing a wireless charger.","url":"https://x.com/i/status/123","author":"example","likes":7,"published_at":null}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/x_user_profile":{"post":{"operationId":"x_user_profile","summary":"X account profile","description":"Look up a public X account by username. Returns its numeric ID, bio, follower and following counts. Page limit: up to 1 items per page. Returned fields: id, username, name, bio, followers, following, url. Price per page: 0.0152 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0152","x-page-limit":1,"x-empty-page-billed":true,"x-availability":"ready","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","username","name","bio","followers","following","url"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"username":{"type":"string","pattern":"^\\w{1,15}$","description":"X username without @."}},"required":["username"],"additionalProperties":false},"example":{"username":"NASA"}}}},"responses":{"200":{"description":"One upstream page (up to 1 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}]},"followers":{"anyOf":[{"type":"number"},{"type":"null"}]},"following":{"anyOf":[{"type":"number"},{"type":"null"}]},"url":{"type":"string","format":"uri"}},"required":["id","username","name","bio","followers","following","url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","username":"example","name":"Sample creator","bio":"Product reviews","followers":325,"following":54,"url":"https://x.com/example"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/x_user_timeline":{"post":{"operationId":"x_user_timeline","summary":"X account timeline","description":"Read a public account’s posts by numeric user ID. Use X account profile to resolve a username. Page limit: one upstream response. Returned fields: id, text, url, author, likes, published_at. Price per page: 0.0152 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0152","x-page-limit":null,"x-empty-page-billed":true,"x-availability":"ready","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","text","url","author","likes","published_at"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"user_id":{"type":"string","pattern":"^\\d{1,20}$","description":"Numeric X account ID, as a string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["user_id"],"additionalProperties":false},"example":{"user_id":"11348282"}}}},"responses":{"200":{"description":"One upstream page (up to pending items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"url":{"type":"string","format":"uri"},"author":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","text","url","author","likes","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","text":"Testing a wireless charger.","url":"https://x.com/i/status/123","author":"example","likes":7,"published_at":null}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/x_trending_topics":{"post":{"operationId":"x_trending_topics","summary":"X trending topics","description":"Read ranked X trends worldwide or in a supported country. Volume is null when X does not publish it. Page limit: one upstream response. Returned fields: rank, name, query, volume, location, as_of. Price per page: 0.0152 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0152","x-page-limit":null,"x-empty-page-billed":true,"x-availability":"ready","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["rank","name","query","volume","location","as_of"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"description":"Two-letter country code. Omit for worldwide trends.","type":"string","pattern":"^[A-Z]{2}$"}},"additionalProperties":false},"example":{"country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to pending items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"type":"string"},"query":{"type":"string"},"volume":{"anyOf":[{"type":"number"},{"type":"null"}]},"location":{"type":"string"},"as_of":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["rank","name","query","volume","location","as_of"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"rank":1,"name":"#ProductLaunch","query":"#ProductLaunch","volume":null,"location":"United States","as_of":null}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/x_search_communities":{"post":{"operationId":"x_search_communities","summary":"X community search","description":"Discover public X communities by topic or keyword with member counts and original community links. Page limit: one upstream response. Returned fields: id, name, topic, members, url. Price per page: 0.0152 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0152","x-page-limit":null,"x-empty-page-billed":true,"x-availability":"ready","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","name","topic","members","url"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"example":{"query":"ecommerce"}}}},"responses":{"200":{"description":"One upstream page (up to pending items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"topic":{"anyOf":[{"type":"string"},{"type":"null"}]},"members":{"anyOf":[{"type":"number"},{"type":"null"}]},"url":{"type":"string","format":"uri"}},"required":["id","name","topic","members","url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0152","data":{"items":[{"id":"123","name":"Sample sellers","topic":"Commerce","members":350,"url":"https://x.com/i/communities/123"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/youtube_search_videos":{"post":{"operationId":"youtube_search_videos","summary":"YouTube video search","description":"Find YouTube videos for a topic. Returns one upstream search page (up to 20 videos) with video IDs, titles, channel names, and watch URLs. Page limit: up to 20 items per page. Returned fields: id, title, url, channel. Price per page: 0.0047 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0047","x-page-limit":20,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","title","url","channel"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search query string."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["query"],"additionalProperties":false},"example":{"query":"wireless charger review"}}}},"responses":{"200":{"description":"One upstream page (up to 20 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","title","url","channel"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0047","data":{"items":[{"id":"example0001","title":"Wireless charger comparison","url":"https://www.youtube.com/watch?v=example0001","channel":"Example channel"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/amazon_reverse_keywords":{"post":{"operationId":"amazon_reverse_keywords","summary":"Amazon ASIN reverse keywords","description":"Requestable catalog service for ASIN traffic keywords via Ziniao Open Platform. Remains pending until the official provider endpoint contract and credentials are verified; never returns mock data or charges credits while pending. Page limit: pending upstream contract. Returned fields: keyword, search_volume. Price per page: pending operator configuration.","security":[{"agentKey":[]}],"x-credits-per-page":null,"x-page-limit":null,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":false,"x-provider":"ziniao","x-returned-fields":["keyword","search_volume"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"marketplace":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter marketplace code, for example US."},"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B012345678."},"cursor":{"description":"Continuation token returned as next_cursor by the previous page.","type":"string","minLength":1,"maxLength":4096}},"required":["marketplace","asin"],"additionalProperties":false},"example":{"asin":"B012345678","marketplace":"US"}}}},"responses":{"200":{"description":"One upstream page (up to pending items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string"},"search_volume":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["keyword","search_volume"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0","data":{"items":[{"keyword":"wireless charger","search_volume":null}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/tiktok_search_videos":{"post":{"operationId":"tiktok_search_videos","summary":"TikTok video search","description":"Discover public videos by keyword and region. Returns up to 10 videos per page with captions, creators, views, likes, and video URLs. Page limit: up to 10 items per page. Returned fields: id, caption, creator, url, views, likes. Price per page: 0.0016 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0016","x-page-limit":10,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","caption","creator","url","views","likes"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"cursor":{"description":"Numeric pagination cursor returned as next_cursor by the previous page.","type":"string","pattern":"^\\d{1,16}$"}},"required":["query","country"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 10 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"caption":{"type":"string"},"creator":{"type":"string"},"url":{"type":"string","format":"uri"},"views":{"anyOf":[{"type":"number"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","caption","creator","url","views","likes"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0016","data":{"items":[{"id":"7400000000000000001","caption":"Earbuds on the commute","creator":"example","url":"https://www.tiktok.com/@example/video/7400000000000000001","views":12500,"likes":840}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/tiktok_top_ads":{"post":{"operationId":"tiktok_top_ads","summary":"TikTok top ads","description":"Find public ad creatives for a market and lookback window. Returns up to 20 creatives per page with IDs, titles, brands, objectives, and likes. Page limit: up to 20 items per page. Returned fields: id, title, brand, objective, likes. Price per page: 0.0016 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.0016","x-page-limit":20,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","title","brand","objective","likes"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"days":{"description":"Lookback window in days (7, 30, or 180). Defaults to 30.","anyOf":[{"type":"number","const":7},{"type":"number","const":30},{"type":"number","const":180}]},"cursor":{"description":"Next page cursor returned as next_cursor by the previous page.","type":"string","pattern":"^[1-9]\\d{0,5}$"}},"required":["country"],"additionalProperties":false},"example":{"country":"US","days":30}}}},"responses":{"200":{"description":"One upstream page (up to 20 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}]},"objective":{"anyOf":[{"type":"string"},{"type":"null"}]},"likes":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","title","brand","objective","likes"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.0016","data":{"items":[{"id":"7500000000000000001","title":"Sound for the commute","brand":"Example Audio","objective":"campaign_objective_video_view","likes":460}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/amazon_search_products":{"post":{"operationId":"amazon_search_products","summary":"Amazon product search","description":"Search a national Amazon marketplace by keyword and page number. Returns one marketplace search page (up to 48 listings) with ASINs, titles, prices, ratings, and listing URLs. Page limit: up to 48 items per page. Returned fields: asin, title, url, price, rating. Price per page: 0.2 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.2","x-page-limit":48,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["asin","title","url","price","rating"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"page":{"description":"One-based page number, starting at 1.","type":"integer","minimum":1,"maximum":100}},"required":["query","country"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 48 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"rating":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["asin","title","url","price","rating"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"asin":"B09G9FPHY6","title":"Sample earbuds","url":"https://www.amazon.com/dp/B09G9FPHY6","price":"$59.99","rating":"4.5"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/amazon_product_details":{"post":{"operationId":"amazon_product_details","summary":"Amazon product details","description":"Inspect a single Amazon listing by ASIN and country. Returns 1 listing item with displayed price, availability, rating, and rating count. Page limit: up to 1 items per page. Returned fields: asin, title, url, price, rating, availability, ratings_count. Price per page: 0.2 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.2","x-page-limit":1,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["asin","title","url","price","rating","availability","ratings_count"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["asin","country"],"additionalProperties":false},"example":{"asin":"B09G9FPHY6","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 1 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"rating":{"anyOf":[{"type":"string"},{"type":"null"}]},"availability":{"anyOf":[{"type":"string"},{"type":"null"}]},"ratings_count":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["asin","title","url","price","rating","availability","ratings_count"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"asin":"B09G9FPHY6","title":"Sample earbuds","url":"https://www.amazon.com/dp/B09G9FPHY6","price":"$59.99","rating":"4.5","availability":"In Stock","ratings_count":321}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/amazon_product_reviews":{"post":{"operationId":"amazon_product_reviews","summary":"Amazon product reviews","description":"Read one page of buyer reviews (up to 10 reviews) for an ASIN. Returns review IDs, titles, comment text, star ratings, and verified-purchase flags. Page limit: up to 10 items per page. Returned fields: id, title, text, stars, verified_purchase. Price per page: 0.2 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.2","x-page-limit":10,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","title","text","stars","verified_purchase"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asin":{"type":"string","pattern":"^[A-Z0-9]{10}$","description":"Ten-character Amazon Standard Identification Number, for example B09G9FPHY6."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."},"page":{"description":"One-based page number, starting at 1.","type":"integer","minimum":1,"maximum":100}},"required":["asin","country"],"additionalProperties":false},"example":{"asin":"B09G9FPHY6","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 10 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"stars":{"anyOf":[{"type":"string"},{"type":"null"}]},"verified_purchase":{"anyOf":[{"type":"boolean"},{"type":"null"}]}},"required":["id","title","text","stars","verified_purchase"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"id":"R123EXAMPLE","title":"Comfortable fit","text":"Stayed in place on my commute.","stars":"4","verified_purchase":true}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/shopping_search_products":{"post":{"operationId":"shopping_search_products","summary":"Google Shopping product search","description":"Find competing retail offers on Google Shopping. Returns up to 10 matching products per page with product IDs, titles, store names, prices, and offer URLs. Page limit: up to 10 items per page. Returned fields: id, title, store, price, offer_url. Price per page: 0.2 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.2","x-page-limit":10,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["id","title","store","price","offer_url"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["query","country"],"additionalProperties":false},"example":{"query":"wireless earbuds","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 10 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"store":{"anyOf":[{"type":"string"},{"type":"null"}]},"price":{"anyOf":[{"type":"string"},{"type":"null"}]},"offer_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["id","title","store","price","offer_url"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"id":"example-product","title":"Wireless earbuds","store":"Example Audio","price":"$49.00","offer_url":"https://example.com/earbuds"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}},"/tools/news_search_articles":{"post":{"operationId":"news_search_articles","summary":"Brand news search","description":"Monitor English-language coverage by keyword and country. Returns up to 10 articles per page with headlines, publishers, publication timestamps, and source URLs. Page limit: up to 10 items per page. Returned fields: title, url, publisher, published_at. Price per page: 0.2 credits (including valid empty pages; 0 credits on upstream failure).","security":[{"agentKey":[]}],"x-credits-per-page":"0.2","x-page-limit":10,"x-empty-page-billed":true,"x-availability":"unavailable","x-adapter-ready":true,"x-provider":"rapidapi","x-returned-fields":["title","url","publisher","published_at"],"parameters":[{"in":"header","name":"Idempotency-Key","description":"Unique key per logical page request; reuse on transport retries.","schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":240,"description":"Keyword or phrase to search."},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code, for example US."}},"required":["query","country"],"additionalProperties":false},"example":{"query":"retail media","country":"US"}}}},"responses":{"200":{"description":"One upstream page (up to 10 items), including a valid empty page. Example below is illustrative sample data only.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string"},"credits":{"type":"string"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["title","url","publisher","published_at"],"additionalProperties":false},"description":"Returned items for this upstream page; may be empty on a valid zero-match page."},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Continuation cursor for the next page when supported, or null when exhausted."}},"required":["items","next_cursor"],"additionalProperties":false}},"required":["request_id","credits","data"],"additionalProperties":false},"example":{"request_id":"sample_request","credits":"0.2","data":{"items":[{"title":"Retail media report","url":"https://example.com/retail-report","publisher":"Example News","published_at":"2026-03-01T12:00:00Z"}],"next_cursor":null}}}}},"default":{"description":"Actionable gateway error with machine error code and remediation message","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}},"required":["error","message"],"additionalProperties":false},"example":{"error":"insufficient_credits","message":"Insufficient credits: add credits or redeem a promo code at /workspace/billing."}}}}}}}}}