Verify a REWORK credential
verify_rework_credentialCheck whether a REWORK Verifiable Credential (a VC-JWT) is authentic, and report what it claims. Use this when someone presents a credential as evidence that they produced a piece of work. Returns whether the signature is valid, whether REWORK has since revoked it, who issued it, and the credential subject.
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": {
"credential": "<credential>"
},
"name": "verify_rework_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credential | Yes | The compact VC-JWT, three base64url segments separated by dots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | True only when the signature verifies against REWORK's key, the credential has not expired, and REWORK has not revoked it. | |
| issuer | No | Who issued the credential, as the credential states it; null when it is not valid. | |
| reason | Yes | Why the credential is not valid; null when it is. | |
| revoked | Yes | True when REWORK revoked the credential after issuing it; false when it was checked and stands; null when there is nothing to check (not a certificate credential, or not valid) or the status could not be read. | |
| assurance_note | Yes | The ceiling on what this result proves. Read it before relying on the result. | |
| credential_subject | Yes | What the credential claims. Empty when it is not valid. |