List Inventory Jobs
cnc_list_inventory_jobsList read-only inventory job history from Cisco Crosswork to review recent device, credential, provider, and tag writes. Find a lost job_id, then inspect or wait on it.
Instructions
List inventory jobs — the audit trail of every device, credential, provider and tag write on Crosswork (each write returns one job).
Read-only. Use it to review recent changes or to find the job_id of a write whose result was lost, then inspect one with cnc_get_inventory_job or wait for it with cnc_wait_for_inventory_job. Paged with the inventory filterData.PageSize/PageNum grammar (assumed for this endpoint; 'total' is null when the platform reports no result_count, and 'has_more' then means the page came back full).
Args: page_size / page: page size and 0-based page number.
Returns: str: Markdown listing, or JSON: {"total": int|null, "count": int, "page": int, "page_size": int, "items": [{"job_id": str, "state": str, "type": str, "creation_time": str, "completion_time": str, "created_by": str, "impacted": [str, ...], "error": str}, ...], "has_more": bool, "next_page": int|null, "collection_total": int|null} States: JOB_COMPLETED and JOB_COMPLETED_WITH_WARNING (a success with an advisory in "error", e.g. a no-op or partially applied write), JOB_FAILED / JOB_CANCELLED / JOB_ABORTED (unsuccessful), JOB_RUNNING and other in-progress states. On failure: "Error: ".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 0-based page number (e.g. 0). | |
| page_size | No | Jobs per page (e.g. 20). | |
| response_format | No | 'markdown' for human-readable output, 'json' for complete data. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |