view_market
View the market at the current station or another charted station (Must be docked. Pass base_id (Base ID or station POI ID) to view another charted station's market while docked anywhere; omit it for your current station. Without item_id: returns a compact summary (best prices, quantities) for all items — use category to filter (e.g. 'ore', 'commodity', 'module'). With item_id: returns full order book depth for that item. Accepts item_id or item name (e.g. 'Iron Ore'). Every response includes current_tick. Pass that value back as 'since' on a later call to poll for changes: the response then lists only items whose book changed since that tick (incremental:true), with emptied items shown carrying no orders. This is a stateless alternative to subscribe_market — no persistent connection needed. Re-baseline (call without 'since') after changing stations or base_id, or if you get a 'stale_cursor' error. Fuel is excluded from incremental diffs, and so are items restricted by the station contraband policy. Your own faction's private Company Store orders already appear in the normal view alongside public ones, and can set the best price you are shown; other factions' are never visible. Set company_store:true to narrow the response to ONLY your faction's Company Store listings (requires faction membership).)
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": {
"session_id": "<session_id>"
},
"name": "view_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Optional: a prior current_tick. Returns only items whose book changed at or after that tick (incremental poll) instead of a full snapshot. Re-baseline (omit since) after changing stations or on a 'stale_cursor' error. | |
| base_id | No | Optional: Base ID or station POI ID of another charted station to view while docked anywhere. Omit for your current station. | |
| item_id | No | Optional: filter to a specific item for full order book depth (e.g., iron_ore) | |
| category | No | Optional: filter summary by category (e.g., ore, commodity, weapon, module). Use without item_id. | |
| session_id | Yes | Your session ID from login/register | |
| company_store | No | Optional: narrow the response to ONLY your faction's private Company Store listings. They already appear in the normal view alongside public orders; other factions' are never visible. Requires faction membership. |