aap_export_all_resources
Export all Ansible Automation Platform resources (projects, inventories, job templates, workflows) as Configuration-as-Code YAML or JSON, optionally scoped to an organization.
Instructions
Export all AAP resources (projects, inventories, job templates, workflows) as Configuration-as-Code.
Example: "Export all job templates as code"
This produces a single YAML document compatible with the infra.aap_configuration Ansible collection.
Args: params (ExportAllInput): - organization_id (Optional[int]): Scope exports to one org - format (str): 'yaml' or 'json'
Returns: str: Combined YAML/JSON export of all resources.
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": {
"params": "<params>"
},
"name": "aap_export_all_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |