jobs.create
Schedule a job for a lead. Optionally link to a quote and assign a technician. Status is auto-set to "Scheduled" if a date is provided, otherwise "Quoted". Requires: lead_id from leads.list. Next steps: jobs.update → jobs.complete → invoicing.generate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Job notes or special instructions for the technician. Optional. | |
| leadId | Yes | Lead ID to create the job for. Required. The lead must belong to the authenticated company. | |
| quoteId | No | Optional quote ID to link. Links the job to an existing quote for pricing context. | |
| scheduledDate | No | ISO 8601 date/time for the job (e.g. "2026-06-15T09:00:00+10:00"). Optional — if omitted, status is "Quoted". | |
| assignedTechnician | No | Name of the technician assigned to this job. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | Created job with id, status, scheduledDate, assignedTechnician, notes, leadId, quoteId, createdAt |