in Tools i cannot see identification of the person
# support
c
does ayonone know how to add identification to the tools because in the tools i cant see it i cant see the number or the CallerID. In vapi events i can see it but not when my tools are called. then it will only send the data in the tool but not unique identefier. how can i stull get the tools data and the identefier specefied? https://cdn.discordapp.com/attachments/1437355813629857792/1437355814041026570/Schermafbeelding_2025-11-10_090739.png?ex=6942676a&is=694115ea&hm=80521d2d157e83f094cd61dcfbb4f742fdb4cce3f5058b696edcac0ac926007d& https://cdn.discordapp.com/attachments/1437355813629857792/1437355814594543676/Schermafbeelding_2025-11-10_090739.png?ex=6942676a&is=694115ea&hm=785b66edc39b632c7b98380dd6ef9569e7660e981d7cfc7655b6ce883b3c963d&
v
You can access the caller's identification in your tool handler by extracting it from the
call
object in the
tool-calls
webhook event. Here’s a concise example in Node.js/Express:
Copy code
js
app.post('/your-tool-endpoint', (req, res) => {
  const { message } = req.body;
  if (message.type === 'tool-calls') {
    const callerId = message.call.customer?.number; // <-- Caller ID here
    // Use callerId as needed in your tool logic
    res.json({ results: [/* your tool results */] });
  }
});
The key is to use
message.call.customer.number
inside your tool handler.
[See docs for details](https://docs.vapi.ai/server-url/events) Source: - [Server events](https://docs.vapi.ai/server-url/events)
c
i already turned this on but it never activates this function but in msg?.assistant?.serverMessages i can aculay see tool has been called https://cdn.discordapp.com/attachments/1437355813629857792/1437360469617807412/Screenshot_11.png?ex=6912f5c0&is=6911a440&hm=db2bb2448dca56038e1b5088b5afa76d28dea528697ecedf9364b25ffa207783&
????
hellooo
2 Views