WdsGetJobs
Lists jobs in the default MCP tenant for discovery and lifecycle monitoring
Arguments
None
Return Type
Returns JobInfo[].
Technical return shape: array of JobInfo.
Structured Output
The MCP structured result is an object whose result property contains the JobInfo[] value.
Data Contracts
JobInfo
Summary information for a configured job
Fields:
| Name | Type | Description |
|---|---|---|
| JobId | string | Job ID |
| JobName | string | Job name unique within the tenant |
| StartDateUtc | datetime or null | Optional. Date and time when the job was last started, in UTC; null if it has not started |
| CompleteDateUtc | datetime or null | Optional. Date and time when the job completed, in UTC; null if it has not completed |
| EnrollmentState | EnrollmentState or null | Optional. Current retrieval enrollment state; null when the retrieval service is unavailable |
EnrollmentState
Retrieval enrollment lifecycle state for indexed content produced by the job
Enumeration values:
| Name | Description |
|---|---|
| Pending | No indexed snippets have been observed for the job yet |
| Enrolling | At least one indexed snippet is still being enrolled |
| Completed | Indexed snippets for the job are visible in the retrieval index |
| Disabled | Retrieval enrollment is disabled for the job |
Behavior
Read-only: yes; idempotent: yes; destructive: no; open-world: no.