drupal_query_jsonapi
Query Drupal's JSON:API with arbitrary path and raw query parameters for custom resources, filters, sorting, or pagination not covered by higher-level tools.
Instructions
Escape hatch: arbitrary GET against the JSON:API. Use when the higher-level tools do not cover what you need (custom resources, /jsonapi/index, etc.).
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": {
"path": "<path>"
},
"name": "drupal_query_jsonapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | JSON:API path relative to the prefix, e.g. "/node/article" or "/taxonomy_term/category" | |
| query | No | Raw query parameters (filter[...], sort, page[limit], etc.) |