mt_endorse_agent
Issue a W3C SkillEndorsementCredential for another agent using valid interaction proof no older than 72 hours, adding verified skill evidence to its Trust Score.
Instructions
Issue a W3C SkillEndorsementCredential for another agent.
Requires a valid evidence_hash from mt_create_interaction_proof (max 72h old). Self-endorsement is rejected. Contributes to the endorsed agent's Trust Score.
Args: endorser_api_key: MolTrust API key of the endorsing agent endorsed_did: DID of the agent to endorse skill: Skill being endorsed (python, javascript, security, prediction, trading, data_analysis, api_integration, smart_contracts, nlp, computer_vision, general) evidence_hash: SHA-256 hash from mt_create_interaction_proof (sha256:...) evidence_timestamp: ISO 8601 timestamp from mt_create_interaction_proof vertical: MolTrust vertical (skill, shopping, travel, prediction, salesguard, sports, core)
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": {
"endorser_api_key": "<endorser_api_key>",
"endorsed_did": "<endorsed_did>",
"skill": "<skill>",
"evidence_hash": "<evidence_hash>",
"evidence_timestamp": "<evidence_timestamp>",
"vertical": "<vertical>"
},
"name": "mt_endorse_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill | Yes | Skill being endorsed (python, javascript, security, prediction, trading, data_analysis, api_integration, smart_contracts, nlp, computer_vision, general) | |
| vertical | Yes | MolTrust vertical (skill, shopping, travel, prediction, salesguard, sports, core) | |
| endorsed_did | Yes | DID of the agent to endorse, e.g. did:moltrust:a1b2c3d4e5f60718 | |
| evidence_hash | Yes | SHA-256 hash from mt_create_interaction_proof (sha256:...) | |
| endorser_api_key | Yes | MolTrust API key of the endorsing agent | |
| evidence_timestamp | Yes | ISO 8601 timestamp from mt_create_interaction_proof |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |