execute-sp-api
Execute Amazon Selling Partner API requests using a specified endpoint and parameters, with automatic validation and optional code generation.
Instructions
Execute Amazon Selling Partner API requests with specified endpoint and parameters
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>",
"parameters": "<parameters>"
},
"name": "execute-sp-api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | HTTP method | |
| region | No | AWS region for the request | us-east-1 |
| rawMode | No | Return raw response if true | |
| endpoint | Yes | The specific SP-API endpoint to use (required) | |
| parameters | Yes | Complete set of API parameters | |
| generateCode | No | Generate code snippet if true | |
| additionalHeaders | No | Additional request headers |