skills/update-package/SKILL.md
# 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
npx skillsauth add naftiko/microsoft-365-copilot-sandbox skills/update-packageInstall 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.
Update configuration or status of an app or agent deployed in Microsoft 365.
/copilot/packages/{packageId}updateCopilotPackageMock server URL: http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/packages/{packageId}
Authorization: Bearer {access-token}Content-Type: application/jsonCopilot.Package.ReadWrite.All| Parameter | In | Type | Required | Description |
|-----------|-----|------|----------|-------------|
| packageId | path | string | Yes | The unique identifier of the package |
{
"description": "AI agent that helps sales teams draft proposals and analyze pipeline data. Updated with Q4 product catalog.",
"status": "active"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| displayName | string | No | Updated display name |
| description | string | No | Updated description |
| status | string | No | Updated status (active, disabled) |
curl -X PATCH "http://localhost:8080/rest/microsoft-365-copilot-apis/1.0.0/copilot/packages/pkg-001-abc" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{"description": "AI agent that helps sales teams draft proposals and analyze pipeline data. Updated with Q4 product catalog."}'
{
"id": "pkg-001-abc",
"displayName": "Contoso Sales Assistant",
"description": "AI agent that helps sales teams draft proposals and analyze pipeline data. Updated with Q4 product catalog.",
"type": "agent",
"publisher": "Contoso IT",
"version": "2.1.0",
"status": "active",
"createdDateTime": "2025-06-01T09:00:00Z",
"lastModifiedDateTime": "2025-09-11T08:00:00Z",
"permissions": [
{ "name": "Sites.Read.All", "type": "delegated" },
{ "name": "Mail.Read", "type": "delegated" }
],
"deployedTo": [
{ "id": "group-sales-team", "displayName": "Sales Team", "type": "group" }
]
}
When the user wants to update the configuration or status of an existing app or agent, use this operation by making a PATCH request to /copilot/packages/{packageId}. Provide the package ID and the fields to update (description, status, display name).
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
# 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
development
# Retrieve Relevant Content from Microsoft 365 Retrieve contextually relevant information from Microsoft 365 content (documents, policies, knowledge bases) while respecting document access controls and sensitivity labels. Useful for building specialized assistants grounded in organizational data. ## API Details - **API**: Microsoft 365 Copilot API - **Method**: POST - **Path**: `/copilot/retrieval/query` - **Operation ID**: `queryRetrievalContent` - **Tag**: Content Retrieval - **OpenAPI**: [