get_land
Retrieve detailed information for specific Axie Infinity land plots using grid coordinates to access ownership, terrain, and plot data.
Instructions
Get details for a specific land plot by its grid coordinates.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column coordinate of the land plot. | |
| row | Yes | Row coordinate of the land plot. |
Implementation Reference
- src/index.ts:733-744 (handler)Handler implementation for the get_land tool, including input schema validation and GraphQL query execution.
case "get_land": { const schema = z.object({ col: z.coerce.number().int(), row: z.coerce.number().int(), }); const { col, row } = schema.parse(args); const data = await client.query<{ land: unknown }>(queries.GET_LAND, { col, row, }); return jsonContent(data.land); } - src/queries.ts:220-235 (schema)GraphQL query definition for retrieving land data.
export const GET_LAND = ` query GetLand($col: Int!, $row: Int!) { land(col: $col, row: $row) { tokenId owner col row landType minPrice order { id currentPrice currentPriceUsd paymentToken status }