Remove Market
remove_marketDelete a saved market, or just one of its storefronts. Pass store to drop a single storefront and leave the rest of the market with its corpora and its build clocks untouched; omit it to delete the whole market. Deleting frees a slot on the account's plan. The terms themselves are not deleted — they are shared with any other market or tracked app using them.
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": {
"market_id": "<market_id>"
},
"name": "remove_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Drop only this storefront, ISO 3166-1 alpha-2. Omit to delete the whole market. Dropping the last storefront deletes the market too, because a market asked nowhere is not a market. | |
| market_id | Yes | Apptail market id — from list_markets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deleted | Yes | True when the whole market is gone. False when only a storefront was dropped and the market remains. | |
| market_id | Yes | ||
| markets_remaining | Yes | Markets left on the account after this call. | |
| removed_storefronts | Yes | What this call removed. | |
| remaining_storefronts | Yes | What the market is still asked in. |