mt_shopping_issue_vc
Issue cryptographically signed verifiable credentials authorizing AI shopping agents to purchase on behalf of humans with enforced spend limits and category controls.
Instructions
Issue a BuyerAgentCredential (W3C Verifiable Credential) for a shopping agent.
Creates a cryptographically signed credential that authorizes an AI agent to make purchases on behalf of a human, with enforced spend limits.
Args: agent_did: DID of the shopping agent (e.g. "did:moltrust:agent123") human_did: DID of the authorizing human (e.g. "did:moltrust:human456") spend_limit: Maximum spend amount per transaction currency: Currency code (e.g. "USDC", "USD") categories: Comma-separated allowed categories (e.g. "electronics,books") validity_days: Number of days the credential is valid (default 30)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_did | Yes | ||
| human_did | Yes | ||
| spend_limit | Yes | ||
| currency | Yes | ||
| categories | Yes | ||
| validity_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |