get_spread
Calculate the current bid-ask spread for an outcome token to gauge market liquidity. Use it to assess how tight a market is before trading.
Instructions
Calculate and return the current bid-ask spread for a specified outcome token.
The spread serves as a key liquidity indicator; smaller spreads typically denote deeper, more efficient markets.
Args: token_id (str): The fundamental token identifier indicating the outcome side.
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": {
"token_id": "<token_id>"
},
"name": "get_spread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |