ebay_get_categories
Pack: ebay · Endpoint: https://gateway.pipeworx.io/ebay/mcp
Get the eBay category subtree under category_id. Omit category_id for the top-level US categories. Returned ids feed into ebay_search.category_id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
category_id | string | no | Parent category ID. Omit for top-level US categories. |
Example call
curl -X POST https://gateway.pipeworx.io/ebay/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ebay_get_categories","arguments":{}}}'
Response shape
Always returns: parent_id, parent_name, children
| Field | Type | Description |
|---|---|---|
parent_id | string | Category ID of the parent/root |
parent_name | string | null | Category name of the parent/root |
children | array | Subcategories under parent |
Full JSON Schema
{
"type": "object",
"properties": {
"parent_id": {
"type": "string",
"description": "Category ID of the parent/root"
},
"parent_name": {
"type": [
"string",
"null"
],
"description": "Category name of the parent/root"
},
"children": {
"type": "array",
"description": "Subcategories under parent",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Subcategory ID"
},
"name": {
"type": "string",
"description": "Subcategory name"
},
"has_children": {
"type": "boolean",
"description": "Whether this category has further subcategories"
}
},
"required": [
"id",
"name",
"has_children"
]
}
}
},
"required": [
"parent_id",
"parent_name",
"children"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ebay": {
"url": "https://gateway.pipeworx.io/ebay/mcp"
}
}
}
See Getting Started for client-specific install steps.