send_as_user
Send a text message as the logged-in Feishu user, with optional reply threading and real @-mentions that trigger push notifications.
Instructions
[User Identity] Send a text message as the logged-in Feishu user. Supports reply threading and real @-mentions (triggers push notifications).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"text": "<text>"
},
"name": "send_as_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat ID. Numeric (from create_p2p_chat / search) preferred; oc_xxx is auto-resolved via getChatInfo + cookie search since v1.3.7 (C1.4). | |
| text | Yes | Message text. If `ats` is provided, include the display marker for each @ in this text (default marker is `@<name>`). | |
| ats | No | Optional @-mentions. Each entry: {userId: "ou_xxx", name: "DisplayName"}. The text must contain each @<name> marker in order — it gets spliced into a real AT element so the mentioned user receives a notification. | |
| root_id | No | Thread root message ID (for reply, optional) | |
| parent_id | No | Parent message ID (for nested reply, optional) |