vscode-viva
vscode-viva copied to clipboard
๐ก [Epic]: Rework and add more SPO page management LM Tools
๐ฏ Aim
Currently, the LM Tool spo_page_add provides only a basic operation to add a SharePoint page. The goal is to refactor and expand the available tools to cover broader page operations, improve naming conventions, and ensure consistency with CLI for Microsoft 365.
โ The Plan
To achieve this, we need to:
- Align tool naming with {verb}_{noun} convention.
- improve model description following the guidance to cover:
- What exactly does the tool do?
- What kind of information does it return?
- When should and shouldn't it be used?
- Describe important limitations or constraints of the tool.
- Fix inconsistencies in input schema.
- Add new LM tools to support SharePoint page operations.
- [ ] PageCopy - which should under the hood use - https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-copy
- [ ] PageGet - which should under the hood use - https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-get/
- [ ] PageList - which should under the hood use - https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-list/
- [ ] PageRemove - https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-remove/
๐ท Images (if possible) with expected result
No response
๐ค Additional remarks or comments
VS Code LM docs: https://code.visualstudio.com/api/extension-guides/tools
Looks good to me!