skills/create-chat-thread/SKILL.md
# Create a New Chat Thread Create a new conversational thread with Microsoft 365 Copilot for multi-turn interactions. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/chat/threads` - **Operation ID**: `createChatThread` - **Tag**: Chat Completions - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads` ## Re
npx skillsauth add naftiko/microsoft-365-copilot-sandbox skills/create-chat-threadInstall 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.
Create a new conversational thread with Microsoft 365 Copilot for multi-turn interactions.
/copilot/chat/threadscreateChatThreadMock server URL: http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads
Authorization: Bearer {access-token}Content-Type: application/jsonCopilot.Chat.ReadWrite{
"displayName": "Travel Policy Questions"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| displayName | string | No | A display name for the chat thread |
curl -X POST "http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/chat/threads" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{"displayName": "Travel Policy Questions"}'
{
"id": "thread-abc-123",
"displayName": "Travel Policy Questions",
"createdDateTime": "2025-09-10T16:00:00Z",
"lastUpdatedDateTime": "2025-09-10T16:00:00Z"
}
When the user wants to start a new multi-turn conversation with Microsoft 365 Copilot, use this operation by making a POST request to /copilot/chat/threads. Optionally provide a display name for the thread. Use the returned thread ID in subsequent chat completion requests for multi-turn conversations.
development
# Renew or Update a Subscription Renew or update the configuration of an existing Copilot change notification subscription. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/subscriptions/{subscriptionId}` - **Operation ID**: `updateCopilotSubscription` - **Tag**: Change Notifications - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-a
development
# Update a Package Update configuration or status of an app or agent deployed in Microsoft 365. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: PATCH - **Path**: `/copilot/packages/{packageId}` - **Operation ID**: `updateCopilotPackage` - **Tag**: Packages - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft-copilot-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/packages/{packageId}` ## Required He
development
# Send a Message to Microsoft 365 Copilot Enable conversational experiences powered by Microsoft 365 Copilot. Send user messages and receive AI-generated responses grounded in Microsoft 365 data and user context. Supports multi-turn conversations. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/chat/completions` - **Operation ID**: `createChatCompletion` - **Tag**: Chat Completions - **OpenAPI**: [microsoft-copilot-api.yaml](../../openapi/microsoft
development
# Search OneDrive Content Using Natural Language Perform hybrid search (semantic and lexical) across OneDrive for work or school content using natural language queries. Results are returned with contextual understanding and intelligent ranking while maintaining security and compliance. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/search/query` - **Operation ID**: `querySearchContent` - **Tag**: Content Search - **OpenAPI**: [microsoft-copilot-ap