Skip to content
Changelog

avatar.status

Gives an avatar's model, whether it loaded, its expressions and costumes, and its current expression.

JSON-RPC 2.0project.read

Parameters

  • sourcestringThe avatar's source id or name. Default: the only avatar in the workspace.

Result

  • sourcestringIts source id.
  • namestringIts name.
  • filestringIts model file.
  • library{ id: string, name: string } | nullIts library entry.
  • expressionstringThe expression on; empty for none.
  • loadedbooleanWhether the model loaded.
  • modelstring | nullThe model's name.
  • errorstring | nullWhy it didn't load.
  • expressionsstring[]Its expressions.
  • costumesstring[]Its costumes.
  • cohostbooleanWhether it's the AI co-host.

Errors

Not found (-32004) when the workspace has no avatar or the source doesn't exist. Invalid params (-32602) when there are several avatars and no source, or the source isn't an avatar.

From an AI agent

The MCP server's avatar (action: status) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "avatar.status",
"params": {}
}

avatar.expression · avatar.change