[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Trestle phone number validation](https://spiral.ai/integrations/antigravity/trestle-phone-number-validation)

# How to Use Trestle phone number validation in Google Antigravity

Check a phone number’s validity, carrier, line type, prepaid status, and activity score. Use it to check a business contact number before a callback or investigate a possible disconnected line.

|  |  |
| --- | --- |
| Model | Trestle phone number validation |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.17459 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Trestle phone number validation in Google Antigravity

- Use Trestle phone number validation on +18006927753, then add a result view to this project showing validity, carrier, line type, and activity score.
- Use Trestle phone number validation on +14089961010 and add the returned carrier and line type to this project’s phone troubleshooting view.
- Use Trestle phone number validation on +18006927753 and update our importer to keep phone validity separate from activity confidence.
- Use Trestle phone number validation on +14089961010 and add an explicit insufficient-evidence state when the activity score is 50.
- Use Trestle phone number validation on +18006927753 and +14089961010, then build a comparison table in this project using their returned phone metadata.

## How to set up Trestle phone number validation in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Trestle phone number validation**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "trestleiq/phones/validate",
    "input": {
      "phone": "<phone>"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Trestle phone number validation on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## Trestle phone number validation tools and prices

- [TrestleIQ · Phone validation](https://spiral.ai/tools/alexandria/trestleiq/phones/validate) (Alexandria): Up to $0.17459 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| add_ons |  | — | Comma-separated add-on. The only value is litigator_checks (TCPA litigator detection). It is an extra $0.005 on the query. |
| phone.country_hint |  | — | ISO-3166 alpha-2 country code, any case, used to read a number given in local format. Example US. |

## What can you do with Trestle phone number validation in Google Antigravity?

Build a business phone review into a contact import or callback workflow. A coding agent can turn Trestle’s validity, carrier, line type, and activity results into review states in the project.

### Check business callback numbers

Check validity and activity before returning an inbound business inquiry. Keep a valid number with uncertain activity separate from a confirmed formatting problem.

### Review imported business contacts

Check the phone numbers in a supplier or partner import and flag invalid entries for correction before the records enter an internal contact system.

### Investigate failed business calls

Retrieve carrier, line type, and activity information for a business number associated with failed calls. Use the results to narrow the next troubleshooting step.

### Separate business lines by type

Sort business contact numbers by returned line type so an operations team can review mobile, landline, and VoIP destinations separately.

### Normalize internal phone records

Use normalized numbers to compare differently formatted entries in an internal business contact list and identify possible duplicates.

### Review business contactability

Periodically check supplier and partner phone numbers and send uncertain or low-activity results to an operations review queue.

### Audit international contact quality

Compare validation results across business contacts in different countries. Account for Trestle’s country-specific activity evidence when interpreting differences.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## Trestle phone number validation in other agents

- [Amp](https://spiral.ai/integrations/amp/trestle-phone-number-validation)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/trestle-phone-number-validation)
- [Claude](https://spiral.ai/integrations/claude-desktop/trestle-phone-number-validation)
- [Claude Code](https://spiral.ai/integrations/claude-code/trestle-phone-number-validation)
- [Cline](https://spiral.ai/integrations/cline/trestle-phone-number-validation)
- [Codex](https://spiral.ai/integrations/codex/trestle-phone-number-validation)
- [Cursor](https://spiral.ai/integrations/cursor/trestle-phone-number-validation)
- [Devin](https://spiral.ai/integrations/devin/trestle-phone-number-validation)
- [dots](https://spiral.ai/integrations/dots/trestle-phone-number-validation)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/trestle-phone-number-validation)
- [Gemini](https://spiral.ai/integrations/gemini/trestle-phone-number-validation)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/trestle-phone-number-validation)
- [goose](https://spiral.ai/integrations/goose/trestle-phone-number-validation)
- [Grok](https://spiral.ai/integrations/grok/trestle-phone-number-validation)
- [Grok Build](https://spiral.ai/integrations/grok-build/trestle-phone-number-validation)
- [Hermes](https://spiral.ai/integrations/hermes/trestle-phone-number-validation)
- [Instinct](https://spiral.ai/integrations/instinct/trestle-phone-number-validation)
- [Manus](https://spiral.ai/integrations/manus/trestle-phone-number-validation)
- [Muse](https://spiral.ai/integrations/muse/trestle-phone-number-validation)
- [Muse Code](https://spiral.ai/integrations/muse-code/trestle-phone-number-validation)
- [n8n](https://spiral.ai/integrations/n8n/trestle-phone-number-validation)
- [Notion](https://spiral.ai/integrations/notion/trestle-phone-number-validation)
- [OpenClaw](https://spiral.ai/integrations/openclaw/trestle-phone-number-validation)
- [opencode](https://spiral.ai/integrations/opencode/trestle-phone-number-validation)
- [Perplexity](https://spiral.ai/integrations/perplexity/trestle-phone-number-validation)
- [Raycast](https://spiral.ai/integrations/raycast/trestle-phone-number-validation)
- [VS Code](https://spiral.ai/integrations/vscode/trestle-phone-number-validation)
- [Windsurf](https://spiral.ai/integrations/windsurf/trestle-phone-number-validation)
- [Zapier](https://spiral.ai/integrations/zapier/trestle-phone-number-validation)

## More Google Antigravity guides

- [Trestle contact verification](https://spiral.ai/integrations/antigravity/trestle-contact-verification)
- [U.S. House representative profile](https://spiral.ai/integrations/antigravity/u-s-house-representative-profile)
- [Trade.gov screening record](https://spiral.ai/integrations/antigravity/trade-gov-screening-record)
- [U.S. House representative roster](https://spiral.ai/integrations/antigravity/u-s-house-representative-roster)
- [Trade.gov screening list records](https://spiral.ai/integrations/antigravity/trade-gov-screening-list-records)
- [U.S. House representative vote](https://spiral.ai/integrations/antigravity/u-s-house-representative-vote)

## Questions about Trestle phone number validation in Google Antigravity

**Can Google Antigravity use Trestle phone number validation?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Trestle phone number validation like any built-in tool.

**How much does Trestle phone number validation cost in Google Antigravity?**

Up to $0.17459 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need an Alexandria account to use Trestle phone number validation in Google Antigravity?**

No. Spiral runs Trestle phone number validation on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Trestle phone number validation in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Trestle phone number validation runs?**

Trestle phone number validation runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Which countries does Trestle phone validation cover?**

Trestle reports coverage across more than 200 countries and territories. Outside the US, activity evidence varies by country, so worldwide coverage does not mean equally detailed activity signals everywhere.

**Does a valid result mean the number will answer?**

No. Validity checks the number’s structure and carrier assignment; it does not establish that someone will answer. Trestle treats activity as a separate signal.

**How much history does the activity score consider?**

Trestle evaluates the preceding 12 months of activity data. That makes the score a measure of observed activity over time, rather than proof that a call will connect right now.

**What does an activity score of 50 mean?**

A score of 50 means Trestle has insufficient signals to classify the line as active or inactive. It should not be read as a 50% probability that someone will answer.

**How quickly can carrier information change?**

Trestle says it can identify a carrier change within 15 minutes. That statement concerns carrier changes, not a guaranteed refresh interval for every returned attribute.

