{
	"$schema": "https://unpkg.com/@lobehub/chat-plugin-sdk@1.32.4/schema.json",
	"identifier": "3d-agent",
	"version": "1.0.0",
	"author": "three.ws",
	"createdAt": "2026-04-17",
	"homepage": "https://three.ws/",
	"meta": {
		"title": "three.ws",
		"description": "Embed any on-chain or off-chain three.ws as an embodied avatar inside your chat.",
		"avatar": "https://three.ws/pwa-icon.svg",
		"tags": [
			"3d",
			"avatar",
			"embodied-agent",
			"erc-8004"
		]
	},
	"ui": {
		"url": "https://three.ws/lobehub/iframe/",
		"height": 640,
		"settings": {
			"agentId": {
				"type": "string",
				"title": "Agent ID",
				"description": "Paste a three.ws ID or ENS name"
			}
		}
	},
	"api": [
		{
			"url": "https://three.ws/api/chat-plugin/render-agent",
			"name": "render_agent",
			"description": "Mount the 3D avatar for a given agent id.",
			"parameters": {
				"type": "object",
				"properties": {
					"agentId": {
						"type": "string",
						"description": "Agent identity id (UUID) to render."
					}
				},
				"required": [
					"agentId"
				]
			}
		},
		{
			"url": "https://three.ws/api/chat-plugin/speak",
			"name": "speak",
			"description": "Make the avatar speak with optional emotional valence.",
			"parameters": {
				"type": "object",
				"properties": {
					"text": {
						"type": "string",
						"description": "Text for the avatar to speak aloud."
					},
					"sentiment": {
						"type": "number",
						"description": "Emotional valence in [-1, 1].",
						"minimum": -1,
						"maximum": 1
					}
				},
				"required": [
					"text"
				]
			}
		},
		{
			"url": "https://three.ws/api/chat-plugin/gesture",
			"name": "gesture",
			"description": "Trigger a named gesture on the avatar.",
			"parameters": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string",
						"enum": [
							"wave",
							"nod",
							"point",
							"shrug"
						]
					}
				},
				"required": [
					"name"
				]
			}
		},
		{
			"url": "https://three.ws/api/chat-plugin/emote",
			"name": "emote",
			"description": "Inject an emotion into the avatar's Empathy Layer blend.",
			"parameters": {
				"type": "object",
				"properties": {
					"trigger": {
						"type": "string",
						"enum": [
							"concern",
							"celebration",
							"patience",
							"curiosity",
							"empathy"
						]
					},
					"weight": {
						"type": "number",
						"minimum": 0,
						"maximum": 1
					}
				},
				"required": [
					"trigger"
				]
			}
		}
	],
	"systemRole": "You have an embodied 3D avatar agent visible in the chat. Use render_agent to bind it to a specific agent, speak to give it voice with emotional valence, gesture for physical expression, and emote to inject emotional state into its blend."
}
