set_passport_data_errors
Report errors in Telegram Passport data for a specific user by providing a user ID and a JSON array of PassportElementError objects.
Instructions
Report errors in Telegram Passport data.
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": {
"user_id": "<user_id>",
"errors": "<errors>"
},
"name": "set_passport_data_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | JSON array of PassportElementError objects | |
| user_id | Yes | User ID |