create_enquiry
Submit a mortgage enquiry to Manage Your Loans on the customer's behalf so a broker contacts them. ONLY call this after the person has explicitly agreed to be contacted — pass consent=true. Do not invent details; ask the user.
Args:
firstName: Customer's first name.
lastName: Customer's last name.
email: Customer's email address.
phone: Australian phone number (04.., 02/03/07/08.., or 1300/1800).
consent: MUST be true — the customer's explicit agreement to be contacted.
loanType: e.g. "Home Loan", "Refinance", "Investment Property" (optional).
loanAmount: Approximate loan amount, free text (optional).
message: Anything else the customer wants the broker to know (optional).
isCostco: True if this is a Costco-member enquiry.
costcoMembershipNumber: Costco membership number if provided (optional).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"firstName": "<firstName>",
"lastName": "<lastName>",
"email": "<email>",
"phone": "<phone>",
"consent": "<consent>"
},
"name": "create_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| phone | Yes | ||
| consent | Yes | ||
| message | No | ||
| isCostco | No | ||
| lastName | Yes | ||
| loanType | No | ||
| firstName | Yes | ||
| loanAmount | No | ||
| costcoMembershipNumber | No |