find_wiki_by_name
Search for Azure DevOps wikis using partial name matching when you don't know the exact wiki name. Specify the project to locate relevant wikis quickly.
Instructions
Find wikis by partial name match when you don't know the exact wiki name.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The name or ID of the project. | |
| partial_name | Yes | Partial wiki name to search for. |
Implementation Reference
- The main handler function implementing the find_wiki_by_name tool. It retrieves all wikis in a project and filters those matching the partial name.def find_wiki_by_name(self, project, partial_name): """ Find wikis by partial name match. """ wikis = self.get_wikis(project) matching_wikis = [] for wiki in wikis: if partial_name.lower() in wiki.name.lower(): matching_wikis.append({ "id": wiki.id, "name": wiki.name, "url": wiki.url, "remote_url": wiki.remote_url, }) return matching_wikis
- mcp_azure_devops/server.py:689-707 (schema)The input schema definition and tool metadata for find_wiki_by_name, including parameters project and partial_name.types.Tool( name="find_wiki_by_name", description="Find wikis by partial name match when you don't know the exact wiki name.", inputSchema={ "type": "object", "properties": { "project": { "type": "string", "description": "The name or ID of the project." }, "partial_name": { "type": "string", "description": "Partial wiki name to search for." }, }, "required": ["project", "partial_name"], "additionalProperties": False } ),
- mcp_azure_devops/server.py:1025-1026 (registration)The dispatch/registration point in the server's _execute_tool method that calls the client handler.elif name == "find_wiki_by_name": return self.client.find_wiki_by_name(**arguments)