Write Create Token
write_create_tokenCreates a user security token with an expiration time, auto-generating the token string when omitted.
Instructions
createToken
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": {
"userId": "<userId>",
"expireTime": "<expireTime>"
},
"name": "write_create_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | 安全令牌字符串,若未显式指定将会自动生成 | |
| userId | Yes | 用户ID | |
| expireTime | Yes | 安全令牌的过期时间 |