Discover the contract first
GET /api/v1/tools exposes the registered pages and parameter schemas. GET /api/v1/openapi supplies the OpenAPI 3.1 contract. Read those definitions before constructing requests: they describe the actual options the server checks, including permitted grid sizes and content limits. You can discover supported settings without reverse-engineering a browser form.