Score field authorization coverage
graphql-security_field-authorization-coverageCount object and interface fields in the supplied subgraph SDL and mark a field when its line, or its type line, contains one of the supplied directive names. Coverage is the share of marked fields. This is a text count. It does not compose a supergraph or decide whether a request would be allowed. Price $0.04 USDC. POST /api/v1/graphql-security/field-authorization-coverage. Unpaid calls return 402 and do not run.
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": {
"protected_directives": "<protected_directives>",
"subgraphs": "<subgraphs>"
},
"name": "graphql-security_field-authorization-coverage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subgraphs | Yes | ||
| protected_directives | Yes |