Get Current User
user_get_currentRetrieve the current Yandex Wiki user's username, home cluster slug, and identity/org IDs to determine where 'create it in my section' requests should be placed.
Instructions
Get the calling Yandex Wiki user: username, home_cluster (the caller's personal-section slug, e.g. 'users/' — where 'create it in my section' requests belong), and identity/org ids.
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": "user_get_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | ||
| identity | No | ||
| username | No | ||
| home_cluster | No | Slug of the caller's personal section, e.g. 'users/<login>' — the parent for pages that belong in 'my' space. |