whoami
Retrieves current Claude Code session details including ID, project, and working directory. Enables other sessions to identify and message this session.
Instructions
Identify which Claude Code session this is (its id, project, and cwd). Useful so other sessions can message you back.
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": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||