graphql_get_example
Generate example GraphQL queries for a content type. Use these examples to construct valid queries.
Instructions
IMPORTANT: Use this tool AFTER using graphql_get_content_type_schema to see example GraphQL queries for a specific content type. Learning from these examples will help you construct valid queries. The space ID and CDA token are automatically retrieved from environment variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentType | Yes | The name of the content type for the example query | |
| includeRelations | No | Whether to include related content types in the example (defaults to false) | |
| spaceId | No | Optional override for the space ID (defaults to SPACE_ID environment variable) | |
| environmentId | No | Optional override for the environment ID (defaults to ENVIRONMENT_ID environment variable or 'master') |