sp_list_column_list
Retrieve the schema of a SharePoint list by providing its URL, returning column definitions with details such as ID, name, type, and properties like required and read-only.
Instructions
Return the column definitions (schema) of a SharePoint List. Each column: id, display_name, name (internal), description, required, hidden, read_only, indexed, type (text/choice/number/boolean/datetime/person/lookup/calculated/hyperlink/currency). list_url shape: https:///sites//Lists/. Read-only.
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": {
"list_url": "<list_url>"
},
"name": "sp_list_column_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |