get_asset_jobs
List Asset Processor jobs for a source file, including status, counts, and failure logs, to diagnose build or processing issues.
Instructions
List the Asset Processor jobs for one source file, with failure logs.
Returns {"source_path", "jobs": [{"job_key", "platform", "builder", "status", "error_count", "warning_count", "job_run_key", "source_file", "watch_folder", "log"?, "truncated"?}]} with status one of
queued, in_progress, failed, completed or missing. A
source the Asset Processor has not registered answers the error code
engine_error. Needs the AiCompanion gem 0.6.0+; works in secure mode.
Args: source_path: The source file, relative to the project or a full path. escalate: Move the file's queued jobs to the front of the queue. include_logs: Attach each failed job's log (cut at 64 KB).
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": {
"source_path": "<source_path>"
},
"name": "get_asset_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| escalate | No | ||
| source_path | Yes | ||
| include_logs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |