Make an AI app sign-in
create_sign_in_clientMakes a sign-in for an AI app that needs a client ID and secret of its own (Copilot Studio's Manual OAuth). The answer has the Client ID, the secret, the addresses to paste and the steps in the app. The secret is shown once and CodeGene keeps only a scrambled copy, so give it to the person straight away and never write it anywhere else. Then the person pastes the callback address the app shows into save_sign_in_callback. Owners and admins only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"app": "<app>"
},
"name": "create_sign_in_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | copilot-studio for Microsoft Copilot Studio; other for another app that needs a client secret. | |
| name | Yes | What it is for, such as Sales agent: the name people see when they sign in through it. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |