create_page
Create modern SharePoint pages with REST API by default, or use Microsoft Graph when necessary.
Instructions
Create a modern page, preferring SharePoint REST by default.
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": {
"definition": "<definition>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preferApi | No | sharepoint-rest | |
| definition | Yes |