find_wiki_by_name
Search for Azure DevOps wikis using partial name matching when you don't know the exact wiki name, helping locate specific documentation within projects.
Instructions
Find wikis by partial name match when you don't know the exact wiki name.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partial_name | Yes | Partial wiki name to search for. | |
| project | Yes | The name or ID of the project. |
Implementation Reference
- The core handler function that implements the 'find_wiki_by_name' tool logic. It retrieves all wikis in a project using get_wikis and filters those whose name contains the partial_name (case-insensitive).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 for the 'find_wiki_by_name' tool, specifying 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 call_tool handler where 'find_wiki_by_name' calls are routed to the client method.elif name == "find_wiki_by_name": return self.client.find_wiki_by_name(**arguments)