hdls Field
hdls Field is a headless, MCP-native field service management backend. It manages jobs, technicians, and site visits, operated entirely through named tools your AI assistant calls. It stands in for tools like ServiceTitan, Jobber — same job, no UI to run.
💬 Just ask
"Create a job for Acme, then show me my jobs."
You don't call these tools yourself — just tell your assistant in plain English. Everything below is the reference for when you (or your assistant) want the exact details.
How Field is organized
The headline entity is the job — start there, then attach the rest to it. Records connect by reference: a visit links to a job and a technician. The job_activity table is an append-only timeline — every change and note lands there and is never edited or deleted.
| Entity | Purpose | Relates to |
|---|---|---|
job | A customer service request scheduled and fulfilled via one or more site visits. | — |
technician | A field worker who is dispatched to visits; carries skills for job matching. | — |
visit | A scheduled on-site appointment for a job, assigned to a technician with arrival/completion times. | job, technician |
job_activity | Append-only timeline shared by jobs and visits (polymorphic via entity_type/entity_id). | — |
Common workflows
Each line is one real sequence of tool calls — your assistant chains them for you.
- Set up a job end to end:
create_job→assign_technician→log_visit - Move a job through its lifecycle:
create_job→update_status
Tools
Call these at https://hdls.ai/api/mcp/fieldservice. Required fields you must supply; optional fields refine the call. You never pass tenant_id — it is stamped server-side.
Create
| Tool | What it does | Required | Optional |
|---|---|---|---|
create_job | Create a new job. | title | job_number, description, customer_name, service_address, job_type, status |
Update & advance
| Tool | What it does | Required | Optional |
|---|---|---|---|
assign_technician | Assign technician to a person or record. | name | email, phone, skills, status, data |
update_status | Update the status of a job by id. | id | status |
log_visit | Log visit. | job_id | technician_id, status, scheduled_start, scheduled_end, arrived_at, completed_at |
Find & read
| Tool | What it does | Required | Optional |
|---|---|---|---|
search_jobs | Search jobs by free-text and/or column filters (tenant-scoped, paginated). | — | search, filters, limit, orderBy |
Field lists come from the product's live schema and are embedded in each tool's own description — read the tool description for the exact, current fields.
Field reference
Every field you can set on each record. Custom fields you add live alongside these in data.
job
| Field | Type | Required | Notes |
|---|---|---|---|
job_number | text | ||
title | text | Yes | Display name. |
description | text | ||
customer_name | text | ||
service_address | text | ||
job_type | text | ||
status | text | Lifecycle state. | |
priority | text | ||
quoted_amount | numeric(14,2) | ||
currency | text | ||
scheduled_for | timestamp | ||
completed_at | timestamp | ||
data | json | Free-form JSON — custom fields live here. |
technician
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Display name. |
email | text | ||
phone | text | ||
skills | list | ||
status | text | Lifecycle state. | |
data | json | Free-form JSON — custom fields live here. |
visit
| Field | Type | Required | Notes |
|---|---|---|---|
job_id | id | Yes | Links to a job. |
technician_id | id | Links to a technician. | |
status | text | Lifecycle state. | |
scheduled_start | timestamp | ||
scheduled_end | timestamp | ||
arrived_at | timestamp | ||
completed_at | timestamp | ||
summary | text | ||
data | json | Free-form JSON — custom fields live here. |
Tailor it with custom fields
Add fields without a schema change. add_custom_field defines one, list_custom_fields shows what's defined, and promote_custom_field (admin) shares a personal field with the whole workspace. The value lives in each row's data (JSON) and is set and read through the normal record tools. See Products, tools & custom fields for the full model.
Roles & safety
- Tenant isolation is automatic. Your credential is pinned to one workspace; you never pass
tenant_id, and you can only ever see your own data (enforced by Postgres row-level security). - Role-gated. Permissions run
reader < member < admin < owner. Installing a product and promoting a custom field workspace-wide need admin/owner. - History is append-only. The
job_activitytimeline is never edited or deleted — it's your audit trail.
Connect
On the concierge (https://hdls.ai/api/mcp), run install_product({ slug: "fieldservice" }) (admin/owner) to enable it for your workspace, then add https://hdls.ai/api/mcp/fieldservice as a connector in your assistant — see Connect your assistant.
A worked example
The literal call your assistant makes when you ask it to create the headline record:
Tool: create_job
Arguments: {
"title": "Acme Corp"
}