Save an AI app's callback address
save_sign_in_callbackAsks to save the callback address an AI app shows for one of the workspace's sign-ins, so people can sign in through it. Copilot Studio's starts with https://global.consent.azure-apim.net/redirect/. It replaces the address saved now. Owners and admins only. Nothing happens until you approve it in CodeGene: the answer gives a link to the request, which waits there for 15 minutes. Send the person that link; you cannot approve it. Then call get_approval with the requestId to learn how it ended.
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": {
"client_id": "<client_id>",
"callback_url": "<callback_url>"
},
"name": "save_sign_in_callback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The sign-in's Client ID (list_sign_in_clients gives them). | |
| callback_url | Yes | The callback address the app shows, pasted exactly. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |