# PUT /our-company/ai-fill-prompts/:form_id|str

**Resource:** [Company](./company.md)  
**MCP tool:** `set_ai_fill_prompt`  
**Scopes:** `company:write`  
**Write operation:** yes

Set the master prompt for one "Fill with AI" form. The master prompt is prepended to the AI Fill system prompt for that form, so it steers tone, format, and field rules every time AI Fill runs there (e.g. set form_id "create-deal-multi-step" to enforce a consistent Opportunity Title format). Get valid form_ids from list_ai_fill_prompts. Overrides only the named form; other forms are untouched.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `form_id` | body | string | yes | Form to configure. Get valid ids from list_ai_fill_prompts (e.g. "create-deal-multi-step"). |
| `master_prompt` | body | string | yes | Instruction prepended to the AI Fill system prompt for this form. |

## Request example

```bash
curl -X PUT   "https://api.trustpager.com/functions/v1/api/v1/our-company/ai-fill-prompts/:form_id|str"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"form_id":"...","master_prompt":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`