query_content
Search AEM content with QueryBuilder to locate pages or assets by path, type, property, or full text. Use read-only, subtree-scoped queries for troubleshooting and triage.
Instructions
Search content with QueryBuilder (read-only). Results are capped at 100 and must be scoped to a subtree.
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": "query_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Subtree to search, e.g. /content/mysite (required, not '/') | |
| limit | No | ||
| fulltext | No | ||
| order_by | No | Property to sort by (descending) | |
| node_type | No | e.g. cq:Page, dam:Asset | |
| property_name | No | e.g. jcr:content/cq:template | |
| property_value | No | Value to match; omit to test existence |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||