academy_add_menu_item
Add a published SharePoint page to the Academy menu by specifying title and page URL, with optional parent ID to nest under a section.
Instructions
Zet een gepubliceerde pagina in het menu. Geef title en pageUrl (server-relative, bv /sites/Academy/SitePages/Mijn.aspx). Optioneel parentId (uit academy_list_menu) om het onder een sectie te hangen. Doe dit pas NA publiceren.
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": {
"title": "<title>",
"pageUrl": "<pageUrl>"
},
"name": "academy_add_menu_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| pageUrl | Yes | ||
| parentId | No |