Skip to content

Add list_spo_list Language Model Tool for SharePoint List enumeration. Closes #594 - #788

Draft
Saurabh7019 wants to merge 5 commits into
pnp:devfrom
Saurabh7019:issue-594
Draft

Add list_spo_list Language Model Tool for SharePoint List enumeration. Closes #594#788
Saurabh7019 wants to merge 5 commits into
pnp:devfrom
Saurabh7019:issue-594

Conversation

@Saurabh7019

Copy link
Copy Markdown
Contributor

🎯 Aim

This PR adds a language model tool to list all lists and libraries from a specific site.

📷 Result

image

✅ What was done

  • Added list_spo_list tool in package.json
  • Registered tool in ChatTools.ts
  • Impemented SharePointListList class

🔗 Related issue

Closes: #594

@Saurabh7019 Saurabh7019 changed the title Issue 594 Add list_spo_list Language Model Tool for SharePoint List enumeration. Closes #594 May 12, 2026
@Adam-it
Adam-it force-pushed the dev branch 2 times, most recently from 6225314 to 50d7a0c Compare May 21, 2026 23:35
@Adam-it

Adam-it commented May 21, 2026

Copy link
Copy Markdown
Member

@Saurabh7019 we just did a minor release of SPFx Toolkit. Please rebase this branch to align with latest dev before we proceed

@Adam-it
Adam-it marked this pull request as draft May 21, 2026 23:36
Adam-it and others added 2 commits June 11, 2026 15:35
…, pnp#803, pnp#804, pnp#805 (pnp#809)

## 🎯 Aim

Updates dependencies to reduce vulnerabilities

## 🧪 How to test

Since we update dependencies, it would be best to run `vsce package` and
install it from vsix file and test around

## 🔗 Related issue

Closes pnp#801, pnp#802, pnp#803, pnp#804, pnp#805
## 🎯 Aim

The aim of this PR is to prepare the pre-release of the extension by
updating the version number in the package.json file.

## ⚠️ Warning - Do review the changes before merging

Be sure to have a look at the changes before merging. Merge it to dev
branch.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Saurabh7019
Saurabh7019 marked this pull request as ready for review June 12, 2026 12:29
nirav-raval and others added 3 commits June 22, 2026 13:42
## 🎯 Aim

Update link to SPFx Local Workbench,

## ✅ What was done

> Updated the link to SPFx Local Workbench

## 🔗 Related issue

Closes: pnp#811
## 🎯 Aim

The aim of this PR is to prepare the pre-release of the extension by
updating the version number in the package.json file.

## ⚠️ Warning - Do review the changes before merging

Be sure to have a look at the changes before merging. Merge it to dev
branch.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Adam-it Adam-it self-assigned this Jul 27, 2026

@Adam-it Adam-it left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Saurabh7019 I think something went wrong and this PR is missing the required changes in the package.json file similar to

vscode-viva/package.json

Lines 318 to 350 in 9769097

"name": "get_spo_list",
"tags": [
"sharepoint",
"list",
"spfx-toolkit"
],
"toolReferenceName": "SharePointListGet",
"displayName": "Get a SharePoint list",
"modelDescription": "Use this tool when you need to verify if a specific list exists on a site, retrieve list metadata for validation or documentation purposes, check list properties before performing operations, or inspect permissions assigned to the list. Do not use this tool to list all lists on a site.",
"userDescription": "Gets information about a specific SharePoint list.",
"canBeReferencedInPrompt": true,
"icon": "$(search)",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the list to retrieve information for. This option is required.",
"default": ""
},
"webUrl": {
"type": "string",
"description": "URL of the site where the list to retrieve is located. This option is required.",
"default": ""
},
"withPermissions": {
"type": "boolean",
"description": "Set to true if you want to return associated roles and permissions of the list. This option is optional.",
"default": false
}
}
}
},

without it VS Code will not discover the new LM tool

@Adam-it
Adam-it marked this pull request as draft July 27, 2026 22:34
@Adam-it
Adam-it force-pushed the dev branch 2 times, most recently from 90ba561 to 4d8d770 Compare July 28, 2026 18:40
@Adam-it

Adam-it commented Jul 28, 2026

Copy link
Copy Markdown
Member

we just had a new minor release. Please rebase this branch against latest dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: Add list_spo_list Language Model Tool for SharePoint List enumeration

3 participants