set_active_site
Set the active SharePoint Online site for subsequent MCP operations. Specify the site ID and URL to focus all list, file, and permission actions on that site.
Instructions
Lock the MCP to a specific SharePoint Online site.
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": {
"siteId": "<siteId>",
"siteUrl": "<siteUrl>"
},
"name": "set_active_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| siteId | Yes | ||
| siteUrl | Yes | ||
| hostname | No |