prime_list_work_orders
Lists work orders and filters them by job, allocation, assigned contact, status, or creation date, with pagination, sorting, and related resource inclusion.
Instructions
List work orders. Filter by job, allocation, assigned contact, or status.
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": "prime_list_work_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (starting from 1) | |
| job_id | No | Filter by job ID | |
| status | No | Filter by status | |
| includes | No | Related resources to include: job, allocation, assignedContact | |
| order_by | No | Field to order by (e.g., "createdAt", "updatedAt") | |
| per_page | No | Items per page (max 100) | |
| order_dir | No | Sort direction | DESC |
| allocation_id | No | Filter by allocation ID | |
| created_after | No | Filter work orders created after | |
| created_before | No | Filter work orders created before | |
| assigned_contact_id | No | Filter by assigned contact ID |