create_list_item
Creates a new item in a SharePoint list by specifying field values. Requires list ID and field key-value pairs.
Instructions
Create a new item in a SharePoint list
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listId": "<listId>",
"fields": "<fields>"
},
"name": "create_list_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | SharePoint site ID | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL | |
| listId | Yes | SharePoint list ID | |
| fields | Yes | Field values for the new item (key-value pairs) | |
| contentType | No | Content type ID (optional) |