mt_create_interaction_proof
Create an interaction proof before issuing a SkillEndorsementCredential.
Returns evidence_hash and base_tx_hash anchored on Base L2.
Required before calling mt_endorse_agent. Valid for 72 hours.
Args:
api_key: MolTrust API key of the agent creating the proof
agent_a: DID of the first agent in the interaction
agent_b: DID of the second agent in the interaction
interaction_type: Type of interaction (e.g. skill_verification, purchase, prediction)
outcome: Outcome of the interaction: success or failure
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": {
"api_key": "<api_key>",
"agent_a": "<agent_a>",
"agent_b": "<agent_b>"
},
"name": "mt_create_interaction_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_a | Yes | DID of the first agent in the interaction | |
| agent_b | Yes | DID of the second agent in the interaction | |
| api_key | Yes | MolTrust API key of the agent creating the proof | |
| outcome | No | Outcome of the interaction: success or failure | success |
| interaction_type | No | Type of interaction (e.g. skill_verification, purchase, prediction) | skill_verification |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |