# US 2026/0087109 A1 · Role-based tool controller for ai copilot

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0087109 A1
- Document ID: US20260087109A1
- Status: Published application
- Kind: A1
- Application number: 18/898,222
- Filed: 2024-09-26
- Published: 2026-03-26
- Earliest claimed: 2024-09-26
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Srinivasa Byaiah Ramachandra REDDY
- Web page: https://patentgrep.com/patent/US20260087109A1

## CPC

- G06F 21/31: User authentication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are system, method, and computer program product embodiments for performing a tool based on a user role. An embodiment operates by storing a conversation log, wherein the conversation log comprises a user input to an Artificial Intelligence (AI) copilot and an AI output to the user, wherein the AI copilot runs on an AI service system. The embodiment then determines the user role of the user. The embodiment then analyzes the conversation log to identify a requested tool requested by the user. The embodiment then determines a required role required to perform the requested tool. The embodiment then compares the required role and the user role. The embodiment then determines, based on the comparison, that the user has an authority to perform the requested tool.

## Claims

### Claim 1

A computer-implemented method for performing a tool based on a user role, comprising:
storing, by at least one processor, a conversation log, wherein the conversation log comprises a user input to an Artificial Intelligence (AI) copilot and an AI output to a user, wherein the AI copilot runs on an AI service system;
determining the user role of the user;
analyzing the conversation log to identify a requested tool requested by the user;
determining a required role required to perform the requested tool;
comparing the required role and the user role;
determining, based on the comparison, that the user has an authority to perform the requested tool; and
performing the requested tool.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, the determining the user role further comprising:
receiving, from an identity management system (IMS), a list of user groups and a group assigned role assigned to the list of user groups; and
identifying a user group to which the user belongs based on the list of user groups; and
determining the user role as the group assigned role corresponding to the identified user group.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, the determining the required role further comprising:
receiving a description of the requested tool;
receiving a description of a product role belonging to a product which uses the requested tool;
inputting, to a large language model (LLM), the description of the requested tool and the description of the product role with a prompt requesting to create a role mapping comprising a mapping of the description of the requested tool and the description of the product role; and
determining the required role based on the role mapping.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, the inputting the description of the requested tool and the description of the product role to the LLM further comprising:
inputting, to the LLM, a help document regarding the product; and wherein the prompt requests the LLM to create the role mapping further based on the help document.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, further comprising:
analyzing the conversation log stored during a current session; and
updating the mapping based on the analyzation.

### Claim 6 (depends on 3)

The computer-implemented method of claim 3, further comprising:
analyzing an access log to the AI service system; and
updating the mapping based on the analyzation.

### Claim 7 (depends on 3)

The computer-implemented method of claim 3, further comprising:
analyzing the conversation log stored during a previous session occurred before a current session; and
updating the mapping based on the analyzation.

### Claim 8

A system for performing a tool based on a user role, comprising:
a memory; and
at least one processor coupled to the memory and configured to:
store a conversation log, wherein the conversation log comprises a user input to an Artificial Intelligence (AI) copilot and an AI output to a user, wherein the AI copilot runs on an AI service system;
determine the user role of the user;
analyze the conversation log to identify a requested tool requested by the user;
determine a required role required to perform the requested tool;
compare the required role and the user role;
determine, based on the comparison, that the user has an authority to perform the requested tool; and
perform the requested tool.

### Claim 9 (depends on 8)

The system of claim 8, wherein to determine the user role, the at least one processor is configured to:
receive, from an identity management system (IMS), a list of user groups and a group assigned role assigned to the list of user groups; and
identify a user group to which the user belongs based on the list of user groups; and
determine the user role as the group assigned role corresponding to the identified user group.

### Claim 10 (depends on 8)

The system of claim 8, wherein to determine the required role, the at least one processor is configured to:
receive a description of the requested tool;
receive a description of a product role belonging to a product which uses the requested tool;
input, to a large language model (LLM), the description of the requested tool and the description of the product role with a prompt requesting to create a role mapping comprising a mapping of the description of the requested tool and the description of the product role; and
determine the required role based on the role mapping.

### Claim 11 (depends on 10)

The system of claim 10, wherein to input the description of the requested tool and the description of the product role to the LLM, the at least one processor is configured to:
input, to the LLM, a help document regarding the product; and wherein the prompt requests the LLM to create the role mapping further based on the help document.

### Claim 12 (depends on 10)

The system of claim 10, the at least one processor further configured to:
analyze the conversation log stored during a current session; and
update the mapping based on the analyzation.

### Claim 13 (depends on 10)

The system of claim 10, the at least one processor further configured to:
analyze an access log to the AI service system; and
update the mapping based on the analyzation.

### Claim 14 (depends on 10)

The system of claim 10, the at least one processor further configured to:
analyze the conversation log stored during a previous session occurred before a current session; and
update the mapping based on the analyzation.

### Claim 15

A non-transitory computer-readable medium having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
storing a conversation log, wherein the conversation log comprises a user input to an Artificial Intelligence (AI) copilot and an AI output to a user, wherein the AI copilot runs on an AI service system;
determining a user role of the user;
analyzing the conversation log to identify a requested tool requested by the user;
determining a required role required to perform the requested tool;
comparing the required role and the user role;
determining, based on the comparison, that the user has an authority to perform the requested tool; and
performing the requested tool.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, the determining the user role further comprising:
receiving, from an identity management system (IMS), a list of user groups and a group assigned role assigned to the list of user groups; and
identifying a user group to which the user belongs based on the list of user groups; and
determining the user role as the group assigned role corresponding to the identified user group.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, the determining the required role further comprising:
receiving a description of the requested tool;
receiving a description of a product role belonging to a product which uses the requested tool;
inputting, to a large language model (LLM), the description of the requested tool and the description of the product role with a prompt requesting to create a role mapping comprising a mapping of the description of the requested tool and the description of the product role; and
determining the required role based on the role mapping.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, the inputting the description of the requested tool and the description of the product role to the LLM further comprising:
inputting, to the LLM, a help document regarding the product; and wherein the prompt requests the LLM to create the role mapping further based on the help document.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising:
analyzing the conversation log stored during a current session; and
updating the mapping based on the analyzation.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising:
analyzing an access log to the AI service system; and
updating the mapping based on the analyzation.
