List document templates
nextcloud_list_document_templatesList the document types the server can create, including their file extensions and templates, to help you select the correct format.
Instructions
List the document types the server can create (document, spreadsheet, presentation, diagram, markdown) with their extensions and templates.
GET /ocs/v2.php/apps/files/api/v1/templates
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nextcloud_list_document_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||