Implementation
gradeNot graded
gradeNot graded
create_listAction
Creates a custom SharePoint list, then provisions its columns. Supported column types: Text, Note, Number, Currency, DateTime, Boolean, Choice, MultiChoice, URL, Lookup, and User.
View tool JSON
{
"name": "create_list",
"kind": "act",
"impl": "imperative",
"description": "Creates a custom SharePoint list, then provisions its columns. Supported column types: Text, Note, Number, Currency, DateTime, Boolean, Choice, MultiChoice, URL, Lookup, and User.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "New list title."
},
"description": {
"type": "string",
"description": "Optional list description."
},
"columns": {
"type": "array",
"description": "Optional columns. A column needs displayName (or name), type, and type-specific properties: choices for Choice/MultiChoice; lookupListId and optional lookupField for Lookup; allowMultiple for Lookup/User; dateOnly for DateTime; maxLength for Text; decimals for Number/Currency.",
"items": {
"type": "object"
}
}
},
"required": [
"title"
]
},
"page": "/SPWebMCP/"
}get_site_contextAnswer
Retrieves current SharePoint subsite metadata, URL, and active user details.
View tool JSON
{
"name": "get_site_context",
"kind": "answer",
"impl": "imperative",
"description": "Retrieves current SharePoint subsite metadata, URL, and active user details.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/SPWebMCP/"
}query_list_itemsAnswer
Queries items from a specified SharePoint list using an optional OData filter within the current subsite.
View tool JSON
{
"name": "query_list_items",
"kind": "answer",
"impl": "imperative",
"description": "Queries items from a specified SharePoint list using an optional OData filter within the current subsite.",
"inputSchema": {
"type": "object",
"properties": {
"listTitle": {
"type": "string",
"description": "Display name of the SharePoint list."
},
"filterQuery": {
"type": "string",
"description": "Optional OData filter, for example: Status eq 'Open'."
}
},
"required": [
"listTitle"
]
},
"page": "/SPWebMCP/"
}create_list_itemAction
Creates a new item in a target SharePoint list using a fresh form digest.
View tool JSON
{
"name": "create_list_item",
"kind": "act",
"impl": "imperative",
"description": "Creates a new item in a target SharePoint list using a fresh form digest.",
"inputSchema": {
"type": "object",
"properties": {
"listTitle": {
"type": "string",
"description": "Display name of the SharePoint list."
},
"itemFields": {
"type": "object",
"description": "Column values, for example: { Title: 'New Task', Priority: 'High' }."
}
},
"required": [
"listTitle",
"itemFields"
]
},
"page": "/SPWebMCP/"
}