canary_issue
Issue a leak canary for one counterparty: a credential to hand to that counterparty. If anyone else presents it at the MolTrust verifier, you get a signed leak event that names the counterparty. Costs what a credential costs. Needs your MolTrust API key as the X-API-Key header of the MCP connection.
Args:
counterparty_did: DID of the agent you hand the credential to; it must be a
registered, unrevoked MolTrust agent
mode: "bound" (the counterparty may present it) or "decoy" (any presentation
but yours is a leak, the counterparty's included); both are issued to
the counterparty's DID
on_leak: "hold" puts the counterparty on hold in your mandates
(POST /canary/enforce-hook), "none" only records the event
credential_type: the credential type, as in POST /credentials/issue
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | bound | |
| on_leak | No | hold | |
| credential_type | No | AgentTrustCredential | |
| counterparty_did | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |