skills/play-prompt/SKILL.md
# Play Prompt in Call Play an audio prompt to participants in an existing call in Microsoft Teams communications. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: POST /communications/calls/{call-id}/playPrompt - **Operation ID**: playPrompt - **Tag**: CallIvr ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}` - `Cont
npx skillsauth add naftiko/microsoft-teams-sandbox skills/play-promptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Play an audio prompt to participants in an existing call in Microsoft Teams communications.
../../openapi/microsoft-teams-openapi.yamlhttp://localhost:8080/rest/microsoft-teams-api/1.0.0Authorization: Bearer {access_token}Content-Type: application/jsonCalls.Initiate.All| Name | Type | Required | Description | |------|------|----------|-------------| | call-id | string | Yes | The unique identifier of the call |
| Name | Type | Required | Description | |------|------|----------|-------------| | prompts | array | Yes | The list of MediaPrompt objects to play | | clientContext | string | No | A unique client context string for correlating the request |
curl -X POST "http://localhost:8080/rest/microsoft-teams-api/1.0.0/communications/calls/{call-id}/playPrompt" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"prompts": [
{
"@odata.type": "#microsoft.graph.mediaPrompt",
"mediaInfo": {
"uri": "https://storage.example.com/audio/welcome.wav",
"resourceId": "audio-001"
}
}
],
"clientContext": "ctx-002"
}'
{
"id": "op-prompt-001",
"status": "completed",
"clientContext": "ctx-002"
}
Status Code: 202 Accepted
Calls.Initiate.All scope.prompts array with MediaPrompt objects containing the media URI and resource ID.clientContext string for correlating the request with callback notifications./communications/calls/{call-id}/playPrompt endpoint.development
# Update Workforce Integration Update the properties of an existing workforce integration using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teamwork/workforceIntegrations/{workforceIntegration-id} - **Operation ID**: updateWorkforceIntegration - **Tag**: WorkforceIntegrations ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` - **Full URL**: `
development
# Update Team Tag Update the properties of an existing tag in a Microsoft Teams team. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: PATCH /teams/{team-id}/tags/{tag-id} - **Operation ID**: updateTeamworkTag - **Tag**: Tags ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}` - `Content-Type: application/json` ## OAu
development
# Update Team Updates the properties of a specific team. Only the properties included in the request body are updated. ## API Details - **API**: Microsoft Teams API - **Method**: PATCH - **Path**: `/teams/{team-id}` - **Operation ID**: `updateTeam` - **Tag**: Teams - **OpenAPI**: [microsoft-teams-openapi.yaml](../../openapi/microsoft-teams-openapi.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-teams-api/1.0.0/teams/{team-id}` ## Required Headers - `Authorization:
development
# Update Tab Update the properties of a specific tab in a channel within a team using the Microsoft Teams API. ## API Details - **API Name**: Microsoft Teams API - **OpenAPI Ref**: `../../openapi/microsoft-teams-openapi.yaml` - **Endpoint**: `PATCH /teams/{team-id}/channels/{channel-id}/tabs/{tab-id}` - **operationId**: `updateTab` - **Tag**: Tabs ## Sandbox - **Base URL**: `http://localhost:8080/rest/microsoft-teams-api/1.0.0` ## Required Headers - `Authorization: Bearer {access_token}`