Decode a JWT
decode_jwtDecode a JSON Web Token to inspect its header and payload, view timing claims in epoch and ISO formats, and check if the token is expired. Note: signature is not verified.
Instructions
Decodes the header and payload of a JSON Web Token and reports the timing claims (iat, nbf, exp) in both epoch and ISO form, along with whether the token is expired. The signature is returned but NOT verified — this tool inspects tokens, it does not validate them, and the result always says so.
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": {
"token": "<token>"
},
"name": "decode_jwt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The JWT to decode, with or without a "Bearer " prefix. |