The user_get_info tool returns your own user details, the locale of your session, and the current date and time in Pricefx. The AI assistant uses it to identify you when you refer to yourself, for example in "show my Quotes" or "Action Items assigned to me".
Tool Name – user_get_info
Title – User: Get Info
Type – Private
Access Profile – Operator
Permissions
The user_get_info tool returns information only about you, the user who is connected. The tool needs no special Pricefx role. The tool cannot return information about other users.
Until the MCP Server CD7 Iteration 7 release, user_get_info will run as a Groovy tool on your Pricefx partition, not centrally on the Pricefx MCP Server. To make it available to your MCP clients, the tool must be deployed to your partition:
-
The Groovy logic that implements the tool must be deployed to the partition.
-
The tool must be declared in an Advanced Configuration Option named
MCP_tool_user_get_info. For more information, see Partition Tools Declaration.
If the tool is not deployed, it does not appear in the tool list of your MCP client. The tool is planned to move to the Pricefx MCP Server in an upcoming release, after which no deployment will be needed.
Parameters
The user_get_info tool has no parameters.
Output
The user_get_info tool returns:
|
Field |
Description |
|---|---|
|
|
Your user details. See the following table. |
|
|
Locale of your Pricefx session, for example en_US. |
|
|
Current date and time on the Pricefx server. |
The user field has:
|
Attribute |
Description |
|---|---|
|
|
Your user ID. |
|
|
Your login name. Other tools use this value to find objects that you created or that are assigned to you. |
|
|
Your email address. |
|
|
Your first name. Empty when not set. |
|
|
Your last name. Empty when not set. |
Behavior and Limitations
-
The tool always returns the user who is connected to the Pricefx MCP server. You cannot request another user.
-
The tool reads data only. It does not change your user profile.
-
The tool does not return your user roles, user groups, or business roles.
-
datetimeuses the time zone of the Pricefx server, which can differ from your local time zone. -
The AI assistant calls the tool automatically when your request contains my, mine, or me. You do not need to ask for it.
Errors
The user_get_info tool does not return any tool-specific errors. If the tool cannot be called, for example because the connection to Pricefx failed, the AI assistant shows the error from Pricefx.
See Also