Phone Claim
phone_claimClaim a note by number before passing or answering it so only one agent owns it; returns whether it is yours or already taken by another agent.
Instructions
Say you are the one passing on (or answering) the person's note n, BEFORE you do it. The first agent to call
it owns the note; the server decides who was first, so two agents claiming at once cannot both win. Returns
"yours: ..." (go ahead) or "taken: claimed note n at HH:MM: leave it to them" (do nothing with it).
Every phone_listen and phone_watch line of a claimed note carries claimed {by, at}, and the person's page says
"taken by " under the note ("nobody has it yet" before anyone does). Claim the untagged notes
(no for) you will act on; a note with a for is already that agent's. by: your who. why: a few words
(e.g. 'passing to Marketing'). An untagged note nobody claims for 3 minutes is the team lead's by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| by | Yes | ||
| why | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |