GetCartsId
Retrieve cart details by ID using the Medusa MCP Server. Expand cart relations or specify fields to return for efficient data extraction and management.
Instructions
Retrieve a cart by its ID. You can expand the cart's relations or select the fields that should be returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| id | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
}