jwt-decoder
Decode a JWT into its header and payload. Does NOT verify the signature — use this for inspection only, never to trust the token's claims.
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": "jwt-decoder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The JWT to decode. Standard 3-part base64url-encoded format: header.payload.signature. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | Yes | Decoded header JSON. | |
| expired | Yes | Whether the token has expired, or null if no exp. | |
| payload | Yes | Decoded payload JSON. | |
| issued_at | Yes | ISO timestamp from 'iat' claim, or null. | |
| expires_at | Yes | ISO timestamp from 'exp' claim, or null. | |
| not_before | Yes | ISO timestamp from 'nbf' claim, or null. | |
| signature_present | Yes | Whether the signature segment is non-empty. | |
| signature_verified | Yes | Always false — this tool does not verify signatures. |