Create or verify a JWT
jwt_tokenCreate or check an HS256 JSON Web Token. encode signs payload with secret and answers jwt; decode verifies token with secret, including exp, nbf and iat, and answers decoded_payload. The secret is used for this call only and is not stored. No API key, no account and no sign up.
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": {
"operation": "<operation>",
"secret": "<secret>"
},
"name": "jwt_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | decode only. | |
| secret | Yes | The HS256 signing key, 1 to 4096 characters. | |
| payload | No | encode only: the claims. | |
| operation | Yes | encode signs payload with secret and answers jwt; decode verifies token with secret and answers its payload. |