get_participant
Retrieve public profile information for participants on the402.ai marketplace, including name, description, role, and join date using their wallet address or participant ID.
Instructions
View a participant's public profile on the402.ai. Shows name, description, role, and when they joined. No authentication required.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| participant_id | Yes | Participant ID (wallet address or participant ID) |
Implementation Reference
- src/tools/account.ts:6-22 (handler)The get_participant tool registration and handler implementation.
server.tool( "get_participant", "View a participant's public profile on the402.ai. Shows name, description, role, and when they joined. No authentication required.", { participant_id: z .string() .describe("Participant ID (wallet address or participant ID)"), }, async ({ participant_id }) => { const result = await client.get(`/v1/participants/${participant_id}`); return { content: [ { type: "text" as const, text: JSON.stringify(result, null, 2) }, ], }; } );