GraphQL Type Fields
get_type_fieldsLists available fields for a GraphQL type from an introspected schema, so you can inspect type structure before querying or building operations.
Instructions
List available fields on a GraphQL type using introspected schema (requires schema to be introspected)
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": {
"typeName": "<typeName>"
},
"name": "get_type_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | GraphQL type name (e.g., "Project") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |