API read (read-only)
api_readFetches read-only Simple API data from Get or List endpoints that lack a dedicated tool, enabling marketplace data retrieval while rejecting write and delete operations.
Instructions
Read-only generic Simple API call for endpoints WITHOUT a dedicated tool. Only Get*/List* endpoints are allowed (e.g. GetRemoteEnums, GetRemoteEnumValuesForCustomAction, GetSubscriptionDependencies, GetSpecialProductTermsForService, GetMarketplaceServiceCharges); anything else is rejected. For empty SKU / Region choice lists use get_remote_enums. Not for: writes or deletes (use api_request).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpoint": "<endpoint>"
},
"name": "api_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (ALSO read endpoints are called via POST) | |
| query | No | ||
| method | No | POST for almost all ALSO endpoints; GET only if an endpoint requires it | POST |
| endpoint | Yes | Read endpoint name, e.g. GetRemoteEnums |