Find templates
find_templatesSearch all available connections for Word, PowerPoint, or Excel templates by format and name substring, returning best matches with location and source so you can open or create documents.
Instructions
Find templates in every connection that has a template location: an organization library, a workgroup or personal Office templates folder, or a templates folder in a connection. format is word, powerpoint, excel, or "" for all; nameContains keeps names containing it, ignoring case. Returns {templates: [{connectionId, source, name, folder, format, location}], connectionsSearched, connectionsFailed: [{connectionId, code, message}]}, best match first; location is organization, workgroup, personal or connection. Pass connectionId and source to open_document, or as create_document's template source.
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": {
"format": "<format>",
"nameContains": "<nameContains>",
"maximumResults": "<maximumResults>"
},
"name": "find_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| nameContains | Yes | ||
| maximumResults | Yes |