-
Notifications
You must be signed in to change notification settings - Fork 26
Adds copy_spo_page LM tool. Closes #587 #671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for copying SharePoint pages through a new Language Model Tool called copy_spo_page. The implementation enables GitHub Copilot to assist users in duplicating modern SharePoint pages within the same site or across different sites, with support for overwriting existing pages and copying page templates.
Key changes:
- Implemented
SharePointPageCopyLM tool following established patterns for SPO page operations - Added tool registration and exports in alphabetical order with other page operations
- Updated documentation to reflect the new page copy capability
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/chat/tools/spo/page/PageCopy.ts |
New Language Model Tool implementation for copying SharePoint pages with auth validation, CLI execution, and user confirmation |
src/chat/tools/spo/index.ts |
Export added for PageCopy class in alphabetical order |
src/chat/tools/ChatTools.ts |
Registered copy_spo_page tool with import and instantiation |
package.json |
Added comprehensive tool configuration with schema, descriptions, and parameters for the copy_spo_page tool |
.github/copilot-instructions.md |
Updated Language Model Tools documentation to include the full set of page operations including copy_spo_page |
4ca0a6a to
8716fdf
Compare
|
@Saurabh7019 I just did a minor and in this process the dev gets rebased/aligned with main. |
2bc0189 to
e170e1a
Compare
e170e1a to
e8fd480
Compare
e8fd480 to
90565ef
Compare
Adam-it
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

π― Aim
Adds
copy_spo_pageLanguage Model Tool for modern SharePoint page copy operation. Closes #587π· Result
β What was done
π Related issue
Closes: #587