新增消息 token
open_token_addCreate a new message token for sending push notifications via PushPlus. Provide a token name and optional expiration time to generate the token for API access.
Instructions
POST /open/token/add - 新增消息 token。 请求: name(令牌名称,必填), expireTime(过期时间,可选,默认2999-12-31)。 统一响应: code(数字,200成功), msg(字符串), data(业务数据)。 data: 新建的消息 token 字符串。
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": {
"name": "<name>"
},
"name": "open_token_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 令牌名称,必填 | |
| expireTime | No | 过期时间,如 2035-05-09 22:34:00;默认 '2999-12-31' |