JWT Sign
dev_jwt_signCreate and sign a JWT with a given payload and secret.
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": {
"payload": "<payload>",
"secret": "<secret>"
},
"name": "dev_jwt_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | HMAC secret key for signing | |
| payload | Yes | JSON payload to encode in the token | |
| expires_in | No | Token expiration time in seconds |