ado_wiki_create_or_update_page
AZURE DEVOPS ONLY -- Create a new wiki page, or OVERWRITE an existing one with new markdown content. ALWAYS call ado_wiki_get_page first if you intend to edit (not replace) an existing page's content, since this tool replaces the ENTIRE page body -- it does not merge/append. Automatically handles the page's ETag for safe concurrent-edit detection. Requires DEVOPS_ORG_URL + DEVOPS_PAT env vars (PAT needs Wiki: Read & Write scope).
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": {
"path": "<path>",
"content": "<content>"
},
"name": "ado_wiki_create_or_update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Wiki page path, e.g. '/Home' or '/Architecture/Deployment'. Parent pages are created automatically if missing. | |
| content | Yes | Full markdown content for the page (replaces any existing content). | |
| project | No | Optional: Azure DevOps project name. Falls back to DEVOPS_PROJECT env var. | |
| wikiIdentifier | No | Wiki name or id. Omit to auto-resolve to the project's only/first wiki (call ado_wiki_list if there are several). |