add_to_watchlist
Add an item to your eBay watchlist using its item ID. Reversible by calling remove_from_watchlist with the same ID.
Instructions
Add an item to the authenticated user's watchlist.
Trading API AddToWatchList. Fully reversible — call
remove_from_watchlist with the same item_id to undo.
Args:
item_id: numeric eBay item ID (from search, get_item, etc.)
host: configured host. Defaults to default_host.
Returns:
dict with host, item_id, added: True, and
watch_list_count (total items in the watchlist after the
operation). Raises ValueError on empty item_id.
On eBay-side errors (item ended, already watched, etc.) the
Trading API raises TradingApiError with details.
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": {
"item_id": "<item_id>"
},
"name": "add_to_watchlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| host | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||