Get the signed-in user
get_current_userReturns the signed-in user and their workspace: the user's name, email address and role, and the workspace name.
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": "get_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| workspace | Yes | ||
| truncatedFields | No | Paths of text fields that were cut. Never write their text back to a record. |