Area code and carrier directory
area_code_lookupReference data for an area code or NPA-NXX prefix: region, carrier, and line type. Free.
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": {
"areaCode": "<areaCode>"
},
"name": "area_code_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Rendering of the human-readable text channel. "prose" (default) is a compact summary an agent can reason over; "json" repeats the data verbatim; "report" is a formatted Markdown report to show a person; "html" is a standalone HTML document for saving, printing or PDF. Machine-readable structuredContent is always included either way. | |
| areaCode | Yes | Three-digit NANP area code, e.g. "661". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| apiVersion | Yes | ||
| disclaimer | Yes | ||
| balanceNotice | No | ||
| suggestedNext | No | ||
| criminalCaveat | No | ||
| notConsumerReport | Yes |