aem_query_content
Execute JCR-SQL2 or XPath queries on Adobe Experience Manager (AEM) content to retrieve specific nodes or data, with customizable limits and host configurations.
Instructions
Query content using JCR-SQL2 or XPath
Input Schema
Name | Required | Description | Default |
---|---|---|---|
host | No | AEM host (default: localhost) | localhost |
limit | No | Maximum number of results (default: 20) | |
password | No | AEM password (default: admin) | admin |
port | No | AEM port (default: 4502) | |
query | Yes | Query string (JCR-SQL2 or XPath) | |
type | No | Query type | JCR-SQL2 |
username | No | AEM username (default: admin) | admin |
Input Schema (JSON Schema)
{
"properties": {
"host": {
"default": "localhost",
"description": "AEM host (default: localhost)",
"type": "string"
},
"limit": {
"default": 20,
"description": "Maximum number of results (default: 20)",
"type": "number"
},
"password": {
"default": "admin",
"description": "AEM password (default: admin)",
"type": "string"
},
"port": {
"default": 4502,
"description": "AEM port (default: 4502)",
"type": "number"
},
"query": {
"description": "Query string (JCR-SQL2 or XPath)",
"type": "string"
},
"type": {
"default": "JCR-SQL2",
"description": "Query type",
"enum": [
"JCR-SQL2",
"xpath"
],
"type": "string"
},
"username": {
"default": "admin",
"description": "AEM username (default: admin)",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}