Creating a tool
This topic describes the process of Tool creation in the GenAI platform.
To create a new tool within the Tool Editor window:
Tool Configuration
This example shows the configuration values for creating a GenAI tool:
- Tool type: Tool
- Name: OS_UserProfile
- Source: ifsservice/usermgt/v2/users/me
- Documentation Type: Manual
- Description: This tool documents all requests made by the
ifsservice/usermgt/v2/users/me GET endpoint. Use this endpoint to generate these details
for the user:
- When the user requests their job title set within Infor OS Portal
- When the user requests the time zone set within their user's profile
- When the user requests the locale set in Infor OS Portal
- When the user requests the language set within Infor OS Portal
- When the user requests to view their manager's name
- API Response Documentation:
{ "responsestatus": "string", "errorlist": [ { "code": 0, "message": "string", "languageText": "string", "errorCode": "string" } ], "response": { "userlist": [ { "id": "string", "userName": "string", "name": { "familyName": "string", "givenName": "string" }, "displayName": "string", "emails": [ { "value": "string", "type": "string", "primary": true } ], "title": "string", "defaultAccountingEntity": "string", "preferredLanguage": "string", "locale": "string", "timezone": "string", "applicationtimezone": "string", "active": true, "ifsPersonId": "string", "lnUser": "string", "userAlias": "string", "actorId": "string", "federationId": "string", "upn": "string", "emailVerified": true, "department": "string", "manager": { "managerId": "string", "managerName": "string" }, "alternativeManager": { "managerId": "string", "managerName": "string" }, "groups": [ { "display": "string", "value": "string", "type": "string", "isFsr": true } ], "additionalProperties": [ { "name": "string", "value": "string", "dataType": "string" } ], "error": "string", "status": "string", "lastLogon": "string", "profilePicture": { "base64ProfilePicture": "string", "thumbSize": "string", "cdnPath": "string", "timeStamp": "2025-02-05T21:58:29.958Z", "cdnPathLargeImage": "string", "largeImageTimeStamp": "2025-02-05T21:58:29.958Z", "cdnPathLarge4XImage": "string", "large4xImageTimeStamp": "2025-02-05T21:58:29.958Z", "cdnPathSmallImage": "string", "smallImageTimeStamp": "2025-02-05T21:58:29.958Z", "cdnPathMediumImage": "string", "mediumImageTimeStamp": "2025-02-05T21:58:29.958Z", "cdnPathOrginalImage": "string", "originalImageTimeStamp": "2025-02-05T21:58:29.958Z" }, "password": "string", "currentPassword": "string", "isServiceUser": true, "passwordExpiryDate": "string" } ] } } - API Headers: No headers needed.