Skip to content

Commit a45aad0

Browse files
committed
Add agentURI metadata schema example to ERC-8004 reference
## Summary - ERC-8004 reference mentions agentURI must follow Agent Metadata Profile but provides no schema - Developers had no way to construct a valid agentURI JSON without the schema ## Type of Change - [x] Documentation improvement ## Changes Made - Added Agent Metadata Profile JSON example with required fields: name, description, image, services - Added link to ERC-8004 specification ## Testing - [x] Schema matches ERC-8004 Agent Metadata Profile format
1 parent 4f6557b commit a45aad0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

skills/bnbchain-mcp-skill/references/erc8004-tools-reference.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,24 @@ Get the verified payment wallet address for an ERC-8004 agent (for x402 / agent
6060
| network | string | Network name or chain ID (optional; default `bsc`) |
6161

6262
**Returns:** `agentId`, `agentWallet`, `network`.
63+
64+
---
65+
66+
### Agent Metadata Profile Example
67+
68+
The `agentURI` must point to a JSON file with the following structure:
69+
70+
```json
71+
{
72+
"name": "My Agent",
73+
"description": "Description of the agent's capabilities",
74+
"image": "https://example.com/agent-avatar.png",
75+
"services": [
76+
{
77+
"name": "Trading",
78+
"description": "Automated trading service",
79+
"url": "https://example.com/api"
80+
}
81+
]
82+
}
83+
```

0 commit comments

Comments
 (0)