send_to_user
Search for a user by name, create a peer-to-peer chat, and send a text message in one step.
Instructions
[User Identity] Search user by name → create P2P chat → send text message. All in one step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | Yes | Recipient name (Chinese or English) | |
| text | Yes | Message text | |
| ats | No | Optional @-mentions. Same format as send_as_user.ats: [{userId, name}]. Text must contain the `@<name>` marker for each entry. |