ask_agent · Ask the market's agent (stake required)
read-onlyAsks the market's own agent a question about that market. Open to an address whose stake in the market's stake contract is active (check_stake), proven with a signed access_message. The answer comes from glm-5.3 on the 0G router and is limited to facts read on-chain for this call; the tool returns those facts next to the answer. Refused without an active stake, and nothing is charged either way.
Input schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"description": "Market ticker, for example PARCEL or ADEXTO. Required and has no default: the gateway refuses a missing ticker rather than quoting one, so a typo can never bill you for a token you did not ask for. Call list_markets first if you do not know it."
},
"chainId": {
"description": "Chain id of the market, for a ticker that trades on more than one chain (list_markets shows chainId). Without it the oldest market for that ticker is used.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"address": {
"type": "string",
"description": "The asking wallet. Must hold an active stake."
},
"message": {
"type": "string",
"maxLength": 400,
"description": "The exact message from access_message."
},
"signature": {
"type": "string",
"description": "personal_sign signature of message by address."
},
"question": {
"type": "string",
"minLength": 3,
"maxLength": 500,
"description": "What to ask the agent about this market."
}
},
"required": [
"symbol",
"address",
"message",
"signature",
"question"
]
}