spawn_me
Retrieve the user ID and username for the connected Spawn agent token to identify the current user.
Instructions
Whoami — returns { userId, username } for the connected Spawn agent token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spawn_me"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | No | Absolute path to the Spawn game project (game.json / .env). Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. |