Submit a matching-quiz lead to Rate-My-Agent
submit_leadSubmit the completed lead. ONLY call after you have echoed the exact contact details and quiz answers back to the client and they picked the clearly-labeled "1. Confirm and Submit Request" option — set consent:true to attest to that explicit confirmation. Use each option's exact value. HANDLING THE RESULT (important): only tell the user their request is in when you receive "ok":true with the thank-you message — then relay that message verbatim. If you receive "ok":false with code "no_response", the service did not answer in time — call submit_lead ONE more time. If you receive "ok":false with a field and message (e.g. an invalid email), tell the user exactly what to fix, collect the corrected value, and submit again. NEVER tell the user it succeeded, or that they will get a call, without the "ok":true confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| notes | No | ||
| phone | Yes | North-American number; 10 digits. | |
| budget | No | Use an exact option value from get_lead_quiz. | |
| address | Yes | For SELLERS: the property's full street address. For BUYERS: the city or neighbourhood they are targeting. | |
| consent | Yes | Set to true ONLY after the user picks "1. Confirm and Submit Request". Must be true to submit. | |
| buy_sell | Yes | ||
| full_name | Yes | ||
| quiz_version | No | mcp-v1 | |
| property_type | No | ||
| financing_help | No | Buyers only — exact option value. | |
| property_condition | No | Sellers only — exact option value. | |
| also_buying_or_selling | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true only when the lead was accepted. | |
| code | No | e.g. invalid_input, invalid_email, no_response. | |
| field | No | Which field to correct, when applicable. | |
| status | No | ||
| message | No | Relay verbatim on success; on error, the fix to explain. | |
| retryable | No | true means submit once more. | |
| http_status | No |