Tool reference · Requests from others

answer_ask

Answer an ask with a contact

Every user

POST /v1/actions/answer_ask · MCP tool answer_ask

Answers an ask someone on Openbook sent the user with ask_my_contacts, by sending the person who asked one contact: one the user sees, by its ID, or a name and fields the user gives, with note if they like. It lands in the asker’s By Request, with only the fields the user sees, and the asker is told. ask is the ask’s ID, from the ask.received event or the ask’s link.

View as Markdown

Parameters

ParameterTypeRequiredLimits
askstringrequired
contactstring or { name: string, fields: { type: "phone" | "email" | "address" | "url" | "birthday" | "company" | "title" | "note" | "social" | "photo", label?: string, value: string }[] }required
notestringoptionalup 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.

curl https://api.withopenbook.com/v1/actions/answer_ask \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "ask": "k_R3vT9wQ2mN5j",
  "contact": {
    "name": "Ana Ruiz",
    "fields": [
      {
        "type": "phone",
        "label": "mobile",
        "value": "(510) 555-0184"
      }
    ]
  }
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "answer_ask",
    "arguments": {
      "ask": "k_R3vT9wQ2mN5j",
      "contact": {
        "name": "Ana Ruiz",
        "fields": [
          {
            "type": "phone",
            "label": "mobile",
            "value": "(510) 555-0184"
          }
        ]
      }
    }
  }
}