Template
Changes in 5717ddf782
Jonathan Miller — docs(wiki): normalize branding (MokoGitea/mokocli/MokoStandards->org wiki/MokoSuite)
| 1 | 1 | ← [Home](Home) |
| 2 | 2 | |
| 3 | 3 | # API Reference |
| 4 | 4 | |
| 5 | 5 | All tools accept an optional `connection` parameter to target a specific named connection. If omitted, the default connection is used. |
| 6 | 6 | |
| 7 | 7 | ## Example Resources |
| 8 | 8 | |
| 9 | 9 | > Replace these example tools with your actual API tools. |
| 10 | 10 | |
| 11 | 11 | ### `example_resources_list` |
| 12 | 12 | List resources with optional search. |
| 13 | 13 | |
| 14 | 14 | | Parameter | Type | Required | Description | |
| 15 | 15 | |-----------|------|----------|-------------| |
| 16 | 16 | | `search` | string | No | Search query | |
| 17 | 17 | | `limit` | number | No | Max results | |
| 18 | 18 | | `page` | number | No | Page number (0-based) | |
| 19 | 19 | |
| 20 | 20 | ### `example_resource_get` |
| 21 | 21 | Get a single resource by ID. |
| 22 | 22 | |
| 23 | 23 | | Parameter | Type | Required | Description | |
| 24 | 24 | |-----------|------|----------|-------------| |
| 25 | 25 | | `id` | number | Yes | Resource ID | |
| 26 | 26 | |
| 27 | 27 | ### `example_resource_create` |
| 28 | 28 | Create a new resource. |
| 29 | 29 | |
| 30 | 30 | | Parameter | Type | Required | Description | |
| 31 | 31 | |-----------|------|----------|-------------| |
| 32 | 32 | | `name` | string | Yes | Resource name | |
| 33 | 33 | | `description` | string | No | Resource description | |
| 34 | 34 | |
| 35 | 35 | ## Generic |
| 36 | 36 | |
| 37 | 37 | ### `api_request` |
| 38 | 38 | Make a raw API request to any endpoint. |
| 39 | 39 | |
| 40 | 40 | | Parameter | Type | Required | Description | |
| 41 | 41 | |-----------|------|----------|-------------| |
| 42 | 42 | | `method` | `"GET"` / `"POST"` / `"PUT"` / `"PATCH"` / `"DELETE"` | Yes | HTTP method | |
| 43 | 43 | | `endpoint` | string | Yes | API path | |
| 44 | 44 | | `body` | object | No | Request body | |
| 45 | 45 | | `params` | object | No | Query parameters | |
| 46 | 46 | |
| 47 | 47 | ### `list_connections` |
| 48 | 48 | List all configured connections. No parameters. |
| 49 | 49 | |
| 50 | 50 | ## Revision History |
| 51 | 51 | |
| 52 | 52 | | Date | Version | Author | Notes | |
| 53 | 53 | | --- | --- | --- | --- | |
| 54 | 54 | | 2026-05-07 | 0.0.1 | jmiller | Initial template API reference | |
| 55 | 55 | |
| 56 | 56 | --- |
| 57 | 57 | |
| 58 | - *Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/mokoplatform/wiki/Home)* | |
| 58 | + *Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoStandards](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)* | |
| 59 | 59 | |
| 60 | 60 | | Revision | Date | Author | Description | |
| 61 | 61 | |---|---|---|---| |
| 62 | 62 | | 1.0 | 2026-05-09 | Moko Consulting | Initial version | |
| 63 | 63 |