jwt
Decode JWT tokens to inspect header and payload, check expiry status, or create unsigned tokens for testing. Not for production authentication.
Instructions
Decode JWT tokens to inspect header and payload, check expiry status, or create unsigned JWTs for testing purposes. Not for production authentication.
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": {
"action": "<action>"
},
"name": "jwt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | JWT token string (for decode and check_expiry) | |
| action | Yes | Action: decode (full decode), check_expiry (just expiry info), create_unsigned (create test token) | |
| payload | No | Payload object for creating unsigned JWT (for create_unsigned) | |
| expires_in_seconds | No | Expiration time in seconds from now (for create_unsigned) |