get_site_by_path
Locate a SharePoint site by its hostname and path (e.g., 'contoso.sharepoint.com' and 'sites/marketing' or empty for root).
Instructions
Get a site by its full path. hostname: e.g. 'contoso.sharepoint.com'. path: e.g. 'sites/marketing' or '' for root.
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": {
"hostname": "<hostname>",
"path": "<path>"
},
"name": "get_site_by_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| hostname | Yes |