jwt_sign
Sign JWT payload (HS* with secret, RS* with private_key PEM).
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>"
},
"name": "jwt_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | No | Optional extra JWT header fields | |
| secret | No | ||
| payload | Yes | Claims object or JSON string | |
| algorithm | No | HS256 | |
| private_key | No | PEM private key for RS algorithms |