vscode-viva icon indicating copy to clipboard operation
vscode-viva copied to clipboard

๐Ÿ’ก [Epic]: Rework and add more SPO page management LM Tools

Open Adam-it opened this issue 8 months ago โ€ข 1 comments

๐ŸŽฏ 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

Adam-it avatar May 16 '25 08:05 Adam-it

Looks good to me!

Saurabh7019 avatar Jun 10 '25 12:06 Saurabh7019