# ask_my_contacts

**Ask my contacts for someone, by texts I send**

Every user

Asks up to 20 people the user knows, by the mobile numbers in to, whether they know someone, like a plumber, with the user’s message. Returns one sms: link per person, with the text filled in, which the user sends from their own phone: Openbook texts nobody. Of those numbers, people on Openbook also get the ask by email, and can answer it with [`answer_ask`](https://withopenbook.com/docs/tools/answer_ask); [`my_requests`](https://withopenbook.com/docs/tools/my_requests) shows the answers.

## Parameters

| Parameter | Type | Required | Limits |
|---|---|---|---|
| `looking_for` | `string` | required | 2–300 characters |
| `to` | `{ phone: string, name?: string }[]` | required | at least 1, up to 20 |
| `message` | `string` | optional | up to 500 characters |

## Who can use it

Every user has it. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

## Errors

Errors carry a stable code and a message written for people. See [errors and their status codes](https://withopenbook.com/docs/api#errors).

HTTP:

```bash
curl https://api.withopenbook.com/v1/actions/ask_my_contacts \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "looking_for": "a babysitter for Saturdays",
  "to": [
    {
      "phone": "(415) 555-0163",
      "name": "Jess"
    },
    {
      "phone": "(415) 555-0172",
      "name": "Ana"
    }
  ]
}'
```

MCP:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ask_my_contacts",
    "arguments": {
      "looking_for": "a babysitter for Saturdays",
      "to": [
        {
          "phone": "(415) 555-0163",
          "name": "Jess"
        },
        {
          "phone": "(415) 555-0172",
          "name": "Ana"
        }
      ]
    }
  }
}
```

> IDs are made up. Get real ones from `my_access` and `search_contacts`, and send the person’s own OAuth token.
