moltrust_credential
Issue or verify W3C Verifiable Credentials for trust infrastructure. Create credentials bound to a subject DID or validate an existing credential's JSON for tamper-proof agent identity checks.
Instructions
Issue or verify a W3C Verifiable Credential.
Args: action: Either "issue" or "verify" subject_did: DID of the credential subject (required for "issue") credential_type: Type of credential (default: "AgentTrustCredential", only for "issue") credential: JSON string of the credential to verify (required for "verify")
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": "moltrust_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Either "issue" or "verify" | |
| credential | No | JSON string of the credential to verify (required for "verify") | |
| subject_did | No | DID of the credential subject (required for "issue"), e.g. did:moltrust:a1b2c3d4e5f60718 | |
| credential_type | No | Type of credential (default: "AgentTrustCredential", only for "issue") | AgentTrustCredential |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |