wait_for_assets
Waits for the O3DE Asset Processor process to exit or timeout, confirming a one-off AssetProcessorBatch run has finished. Returns completed status and elapsed seconds.
Instructions
Wait for the Asset Processor process to exit (or until timeout).
This watches for the process to stop, not for it to go idle, so it suits
a one-off AssetProcessorBatch run. A GUI Asset Processor running beside
the editor stays up while idle, so with one running this waits out the
timeout and reports completed: false.
Returns a progress result {"completed": bool, "elapsed": seconds}.
completed is True when no Asset Processor process is running, or
False when one was still running when timeout elapsed, with a
message noting the timeout. A not-yet-finished wait is a result, not
a failure, so this tool does not return the error envelope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |