# v0.2.1 Location Capture Fix

This patch adds a dedicated `service_state` field and updates the assistant prompt/tool schema so the AI asks for the full service address, or city and state at minimum.

## Telnyx tool update

Add this optional body parameter to both `submit_lead` and `escalate_urgent`:

```text
Name: service_state
Type: string
Required: No
Description: Service state, for example Michigan or MI. If the caller gives only city, ask for the state before saving the final lead.
```

Keep only `service_needed` and `ai_summary` required. Do not mark `service_state` required in Telnyx, because too many required fields can cause Telnyx to skip the tool call. The assistant prompt enforces asking for it.

## Assistant instruction

Add the Location collection rule from `config/pest-control-assistant-prompt.md` to your live Telnyx assistant instructions.
