Skip to main content

Azure Devops

@adamchubbuck/azure-devopsv2026.10.28.2· MIT· 1d agoBEHAVIORS
01README

Full Azure DevOps API coverage: Git, pipelines, work items and more. Works with Azure DevOps Services, legacy visualstudio.com URLs and Server/on-prem.

02Behaviors13
@adamchubbuck/azure-devops/corev2026.10.28.1core.ts
fn listProjects(stateFilter?: enum, limit?: number)
List all projects in the organization, following continuation tokens.
ArgumentTypeDescription
stateFilter?enumFilter by project state.
limit?numberStop after this many projects.
fn getProject(includeCapabilities?: boolean)
Get one project by name or ID, optionally with capabilities.
ArgumentTypeDescription
includeCapabilities?boolean
fn createProject(name: string, description?: string, visibility?: enum, sourceControlType?: enum, processTemplateId?: string)
Queue creation of a new project. Project creation is asynchronous; the result holds the operation reference.
ArgumentTypeDescription
namestringNew project name (e.g. 'my-project').
description?string
visibility?enum
sourceControlType?enum
processTemplateId?stringProcess template ID. Defaults to the organization's default process.
fn deleteProject(projectId: string)
DESTRUCTIVE: delete a project and all of its data. Requires confirm: true.
ArgumentTypeDescription
projectIdstringProject ID (GUID).
fn listTeams(project?: string, mine?: boolean, limit?: number)
List teams. With a project, lists that project's teams; without, lists every team the caller can see in the organization.
ArgumentTypeDescription
project?stringProject name or ID. Omit to list teams across the whole organization.
mine?booleanOnly teams the caller belongs to.
limit?number
fn getTeam(team: string, expandIdentity?: boolean)
Get one team by name or ID within a project.
ArgumentTypeDescription
teamstringTeam name or ID.
expandIdentity?boolean
fn listTeamMembers(team: string, limit?: number)
List the members of a team.
ArgumentTypeDescription
teamstringTeam name or ID.
limit?number
fn createTeam(name: string, description?: string)
Create a team in a project.
ArgumentTypeDescription
namestringTeam name (e.g. 'my-team').
description?string
fn updateTeam(team: string, name?: string, description?: string)
Rename a team or change its description.
ArgumentTypeDescription
teamstringCurrent team name or ID.
name?string
description?string
fn deleteTeam(team: string)
DESTRUCTIVE: delete a team. Requires confirm: true.
ArgumentTypeDescription
teamstringTeam name or ID.

Resources

project(infinite)— A single project
projects(infinite)— List of projects
team(infinite)— A single team
teams(infinite)— List of teams or team members
result(infinite)— Outcome of a write operation
@adamchubbuck/azure-devops/gitv2026.10.28.1git.ts
fn listRepositories(includeHidden?: boolean)
List Git repositories in a project, or in the whole organization when no project is set.
ArgumentTypeDescription
includeHidden?boolean
fn getRepository()
Get one repository by name or ID.
fn createRepository(name: string)
Create a new Git repository in a project.
ArgumentTypeDescription
namestringNew repository name (e.g. 'my-repo').
fn updateRepository(repositoryId: string, name?: string, defaultBranch?: string, isDisabled?: boolean)
Rename a repository, change its default branch, or disable it.
ArgumentTypeDescription
repositoryIdstringRepository ID (GUID).
name?string
defaultBranch?stringe.g. 'main' or 'refs/heads/main'.
isDisabled?boolean
fn deleteRepository(repositoryId: string)
DESTRUCTIVE: delete a repository (moves it to the recycle bin). Requires confirm: true.
ArgumentTypeDescription
repositoryIdstringRepository ID (GUID).
fn listBranches(filter?: string)
List branches of a repository with ahead/behind stats.
ArgumentTypeDescription
filter?stringOnly branches whose name starts with this, e.g. 'feature/'.
fn listRefs(filter?: string)
List refs (branches, tags, ...) of a repository, optionally filtered, e.g. filter 'tags/'.
ArgumentTypeDescription
filter?stringRef prefix after 'refs/'.
fn createBranch(name: string, sourceBranch?: string, commitId?: string)
Create a branch from another branch or a commit. Fails if the branch already exists.
ArgumentTypeDescription
namestringNew branch name, e.g. 'feature/x'.
sourceBranch?stringBranch to branch from, e.g. 'main'. Ignored when commitId is set.
commitId?stringCommit SHA to branch from.
fn deleteBranch(name: string)
DESTRUCTIVE: delete a branch. Requires confirm: true.
ArgumentTypeDescription
namestringBranch name, e.g. 'feature/x'.
fn forceUpdateBranch(name: string, newCommitId: string)
DESTRUCTIVE: force-move a branch to a commit, discarding commits not reachable from it. Requires confirm: true.
ArgumentTypeDescription
namestringBranch name.
newCommitIdstringCommit SHA the branch should point to.
fn listCommits(branch?: string, path?: string, author?: string, fromDate?: string, toDate?: string, limit?: number)
List commits on a branch, optionally filtered by path, author or dates.
ArgumentTypeDescription
branch?stringBranch name, e.g. 'main'.
path?stringOnly commits touching this path.
author?string
fromDate?stringISO date.
toDate?stringISO date.
limit?number
fn getCommit(commitId: string, changeCount?: number)
Get one commit by SHA, optionally with change counts.
ArgumentTypeDescription
commitIdstring
changeCount?number
fn listPushes(branch?: string, limit?: number)
List pushes to a repository, optionally for one branch.
ArgumentTypeDescription
branch?string
limit?number
fn getPush(pushId: number)
Get one push by ID, including its commits.
ArgumentTypeDescription
pushIdnumber
fn createPush(branch: string, message: string, changes: array)
Push one commit that adds, edits or deletes files on a branch. Creates the branch when it does not exist. Never force-pushes: fails if the branch moved.
ArgumentTypeDescription
branchstringTarget branch, e.g. 'feature/x'.
messagestringCommit message.
changesarray
fn listPullRequests(repository?: string, status?: enum, sourceBranch?: string, targetBranch?: string, creatorId?: string, reviewerId?: string, limit?: number)
List pull requests in a repository (or the whole project when no repository is given).
ArgumentTypeDescription
repository?string
status?enum
sourceBranch?string
targetBranch?string
creatorId?string
reviewerId?string
limit?number
fn getPullRequest(repository?: string)
Get one pull request by ID.
ArgumentTypeDescription
repository?stringOptional; the ID alone is enough within a project.
fn createPullRequest(sourceBranch: string, targetBranch: string, title: string, description?: string, isDraft?: boolean, reviewerIds?: array, labels?: array, workItemIds?: array)
Create a pull request, e.g. from 'feature/x' into 'main'. Reuses nothing: fails if an active PR for the same branches exists.
ArgumentTypeDescription
sourceBranchstringe.g. 'feature/x'
targetBranchstringe.g. 'main'
titlestring
description?string
isDraft?boolean
reviewerIds?arrayIdentity IDs of reviewers to add.
labels?array
workItemIds?arrayWork items to link.
fn updatePullRequest(title?: string, description?: string, targetBranch?: string, isDraft?: boolean)
Update a pull request's title, description, target branch or draft state. Does not abandon or complete it.
ArgumentTypeDescription
title?string
description?string
targetBranch?string
isDraft?boolean
fn abandonPullRequest()
DESTRUCTIVE: abandon (close without merging) a pull request. Requires confirm: true.
fn completePullRequest(mergeStrategy?: enum, deleteSourceBranch?: boolean, mergeCommitMessage?: string)
DESTRUCTIVE: complete (merge) a pull request using its current source commit. Requires confirm: true.
ArgumentTypeDescription
mergeStrategy?enum
deleteSourceBranch?boolean
mergeCommitMessage?string
fn listThreads()
List comment threads on a pull request.
fn createThread(content: string, status?: enum, filePath?: string, line?: number)
Start a comment thread on a pull request, general or anchored to a file line.
ArgumentTypeDescription
contentstringMarkdown comment text.
status?enum
filePath?stringe.g. '/src/app.ts'.
line?numberLine in the right (new) side of the file; requires filePath.
fn replyToThread(threadId: number, content: string, parentCommentId?: number)
Add a reply comment to an existing pull request thread.
ArgumentTypeDescription
threadIdnumber
contentstring
parentCommentId?number
fn updateThreadStatus(threadId: number, status: enum)
Set a pull request thread's status, e.g. resolve it as 'fixed'.
ArgumentTypeDescription
threadIdnumber
statusenum
fn listReviewers()
List reviewers of a pull request with their votes.
fn addReviewer(reviewerId: string, isRequired?: boolean)
Add a reviewer (user or group identity ID) to a pull request.
ArgumentTypeDescription
reviewerIdstringIdentity ID (GUID).
isRequired?boolean
fn setVote(vote: enum, reviewerId?: string)
Cast a vote on a pull request as the authenticated identity (or another reviewer ID).
ArgumentTypeDescription
voteenum
reviewerId?stringDefaults to the identity that owns the token.
fn removeReviewer(reviewerId: string)
DESTRUCTIVE: remove a reviewer from a pull request. Requires confirm: true.
ArgumentTypeDescription
reviewerIdstring
fn listPolicyConfigurations(repositoryId?: string, branch?: string)
List branch policy configurations in a project, optionally for one repository and branch.
ArgumentTypeDescription
repositoryId?stringRepository ID (GUID).
branch?stringe.g. 'main'. Requires repositoryId.
fn listPolicyEvaluations()
List branch policy evaluations (build, reviewers, comments...) for a pull request.
@adamchubbuck/azure-devops/buildv2026.10.28.1build.ts
fn listDefinitions(name?: string, path?: string)
List build definitions, optionally filtered by name or folder path.
ArgumentTypeDescription
name?stringName filter; '*' wildcards allowed.
path?stringFolder path, e.g. '\\\\my-folder'.
fn getDefinition(definitionId: number, revision?: number)
Get one build definition, including its process and triggers.
ArgumentTypeDescription
definitionIdnumber
revision?number
fn deleteDefinition(definitionId: number)
DESTRUCTIVE: delete a build definition and its builds. Requires confirm: true.
ArgumentTypeDescription
definitionIdnumber
fn listBuilds(definitionIds?: array, branch?: string, statusFilter?: enum, resultFilter?: enum)
List builds, filtered by definition, branch, status or result.
ArgumentTypeDescription
definitionIds?array
branch?stringe.g. 'main'.
statusFilter?enum
resultFilter?enum
fn getBuild()
Get one build by ID.
fn queueBuild(definitionId: number, branch?: string, parameters?: record)
DESTRUCTIVE (starts work and may deploy): queue a new build of a definition. Requires confirm: true.
ArgumentTypeDescription
definitionIdnumber
branch?stringe.g. 'main'. Defaults to the definition's default branch.
parameters?recordQueue-time variables.
fn cancelBuild()
DESTRUCTIVE: cancel a running build. Requires confirm: true.
fn listLogs()
List the log files of a build.
fn getLog(logId: number, startLine?: number, endLine?: number)
Download one build log as a text file (optionally a line range).
ArgumentTypeDescription
logIdnumber
startLine?number
endLine?number
fn listArtifacts()
List artifacts published by a build.

Files

log(text/plain)— Plain text build log
@adamchubbuck/azure-devops/pipelinesv2026.10.28.1pipelines.ts
fn listPipelines(orderBy?: string, limit?: number)
List YAML and classic pipelines in a project.
ArgumentTypeDescription
orderBy?stringe.g. 'name asc'.
limit?number
fn getPipeline(pipelineVersion?: number)
Get one pipeline by ID.
ArgumentTypeDescription
pipelineVersion?number
fn listRuns()
List runs of a pipeline, newest first.
fn getRun()
Get one pipeline run with its state, result and resources.
fn runPipeline(branch?: string, templateParameters?: record, variables?: record)
DESTRUCTIVE (starts work and may deploy): queue a new run of a pipeline. Requires confirm: true.
ArgumentTypeDescription
branch?stringe.g. 'main'.
templateParameters?record
variables?record
fn listRunLogs()
List log files of a pipeline run, with signed download URLs.
@adamchubbuck/azure-devops/workitemsv2026.10.28.1workitems.ts
fn getWorkItem(asOf?: string)
Get one work item by ID.
ArgumentTypeDescription
asOf?stringISO date for a historic view.
fn getWorkItems(ids: array)
Get many work items by ID. IDs are fetched in chunks of 200 (the API limit).
ArgumentTypeDescription
idsarray
fn createWorkItem(type: string, fields: record, validateOnly?: boolean, bypassRules?: boolean, suppressNotifications?: boolean)
Create a work item of the given type (e.g. 'Bug', 'User Story') from a field record.
ArgumentTypeDescription
typestringWork item type name.
fieldsrecordField reference name -> value, e.g. {'System.Title': 'Fix it'}.
validateOnly?boolean
bypassRules?boolean
suppressNotifications?boolean
fn updateWorkItem(operations: array, validateOnly?: boolean, bypassRules?: boolean, suppressNotifications?: boolean)
Update a work item with JSON Patch operations (add/replace/remove/test).
ArgumentTypeDescription
operationsarray
validateOnly?boolean
bypassRules?boolean
suppressNotifications?boolean
fn deleteWorkItem(destroy?: boolean)
DESTRUCTIVE: delete a work item (recycle bin) or permanently destroy it with destroy: true. Requires confirm: true.
ArgumentTypeDescription
destroy?booleanPermanently destroy instead of moving to the recycle bin.
fn runWiql(query: string, top?: number, hydrate?: boolean)
Run a WIQL query (read-only). Returns ids; set hydrate: true to also fetch the work items (in chunks of 200).
ArgumentTypeDescription
querystringWIQL, e.g. 'SELECT [System.Id] ...
top?numberMaximum rows (server default limit is 20000).
hydrate?boolean
fn getQuery(queryIdOrPath: string, depth?: number, expand?: enum)
Get a saved query or folder by ID or path.
ArgumentTypeDescription
queryIdOrPathstringQuery GUID or path, e.g. 'Shared Queries/My Query'.
depth?number
expand?enum
fn listQueries(depth?: number, expand?: enum, includeDeleted?: boolean)
List the saved query and folder tree (My/Shared Queries).
ArgumentTypeDescription
depth?number
expand?enum
includeDeleted?boolean
fn listWorkItemTypes()
List work item types of a project.
fn getWorkItemType(type: string)
Get one work item type (states, fields, transitions).
ArgumentTypeDescription
typestringe.g. 'Bug'.
fn listFields(expand?: enum)
List work item fields (project-scoped when a project is set).
ArgumentTypeDescription
expand?enum
fn listComments(top?: number, order?: enum, includeDeleted?: boolean)
List comments of a work item (7.2-preview.4).
ArgumentTypeDescription
top?number
order?enum
includeDeleted?boolean
fn addComment(text: string)
Add a comment to a work item (7.2-preview.4).
ArgumentTypeDescription
textstringComment text (HTML allowed).
fn listRevisions(top?: number, skip?: number)
List the revisions (full snapshots) of a work item.
ArgumentTypeDescription
top?number
skip?number
fn listUpdates(top?: number, skip?: number)
List the field-level updates (deltas) of a work item.
ArgumentTypeDescription
top?number
skip?number
fn addLink(rel: string, targetId?: number, url?: string, comment?: string)
Add a relation to a work item, e.g. rel 'System.LinkTypes.Hierarchy-Reverse' (parent) with the target work item ID or a full URL.
ArgumentTypeDescription
relstringLink type reference name.
targetId?numberTarget work item ID (the URL is built for you).
url?stringExplicit target URL (PRs, commits, hyperlinks). Overrides targetId.
comment?string
fn removeLink(targetId?: number, url?: string, rel?: string)
DESTRUCTIVE: remove a relation from a work item, matched by its URL (or target work item ID) and optional rel. Requires confirm: true.
ArgumentTypeDescription
targetId?number
url?string
rel?stringRestrict the match to this link type.
fn listAreas(depth?: number)
Get the area path tree of a project.
ArgumentTypeDescription
depth?number
fn listIterations(depth?: number)
Get the iteration path tree of a project.
ArgumentTypeDescription
depth?number
fn listTags()
List work item tags used in a project.
@adamchubbuck/azure-devops/testv2026.10.28.1test.ts
fn listTestPlans(owner?: string, filterActivePlans?: boolean, includePlanDetails?: boolean)
List test plans of a project.
ArgumentTypeDescription
owner?stringFilter by owner.
filterActivePlans?boolean
includePlanDetails?boolean
fn getTestPlan()
Get one test plan by ID.
fn listTestSuites(expand?: enum, asTreeView?: boolean)
List the test suites of a test plan.
ArgumentTypeDescription
expand?enum
asTreeView?boolean
fn listTestCases(witFields?: array)
List the test cases in a suite of a test plan.
ArgumentTypeDescription
witFields?arrayWork item fields to include, e.g. ['System.Title'].
fn listTestPoints(testCaseId?: string, includePointDetails?: boolean)
List the test points (case x configuration) of a suite.
ArgumentTypeDescription
testCaseId?stringFilter by test case ID.
includePointDetails?boolean
fn listTestRuns(planId?: number, buildUri?: string, automated?: boolean, includeRunDetails?: boolean)
List test runs, optionally filtered by plan or build.
ArgumentTypeDescription
planId?number
buildUri?stringe.g. 'vstfs:///Build/Build/123'.
automated?boolean
includeRunDetails?boolean
fn getTestRun(includeDetails?: boolean)
Get one test run with its statistics.
ArgumentTypeDescription
includeDetails?boolean
fn createTestRun(name: string, planId?: number, pointIds?: array, automated?: boolean, buildId?: number, state?: enum, comment?: string)
Create a test run record (planned or automated) to which results can be posted. Does not execute any tests.
ArgumentTypeDescription
namestring
planId?number
pointIds?arrayTest point IDs to include (planned runs).
automated?boolean
buildId?number
state?enum
comment?string
fn listTestResults(outcomes?: array, detailsToInclude?: enum)
List the results of a test run.
ArgumentTypeDescription
outcomes?arraye.g. ['Failed','Aborted'].
detailsToInclude?enum
fn getTestResult(resultId: number, detailsToInclude?: enum)
Get one test result of a run.
ArgumentTypeDescription
resultIdnumber
detailsToInclude?enum
fn updateTestResults(results: array)
Update (e.g. set outcome/state of) existing test results in a run. Each entry must include the result 'id'.
ArgumentTypeDescription
resultsarraye.g. [{id: 100000, outcome: 'Passed', state: 'Completed'}].
fn getCodeCoverageSummary(deltaBuildId?: number)
Get the code coverage summary of a build (preview API).
ArgumentTypeDescription
deltaBuildId?numberCompare against this build.
fn listTestResultsByBuild(publishContext?: string, outcomes?: array)
List test results of a build (preview API).
ArgumentTypeDescription
publishContext?stringe.g. 'CI' or 'PR'.
outcomes?array
@adamchubbuck/azure-devops/releasev2026.10.28.1release.ts
fn listDefinitions(searchText?: string, path?: string, expand?: string, limit?: number)
List classic release definitions in a project.
ArgumentTypeDescription
searchText?string
path?stringFolder path, e.g. '\\\\'.
expand?stringe.g. 'environments,artifacts,triggers'.
limit?number
fn getDefinition()
Get one release definition, including its stages.
fn getReleaseDefinitionHistory()
List the revision history of a release definition.
fn listReleases(definitionId?: number, definitionEnvironmentId?: number, statusFilter?: enum, environmentStatusFilter?: number, createdBy?: string, minCreatedTime?: string, maxCreatedTime?: string, queryOrder?: enum, searchText?: string, sourceBranchFilter?: string, expand?: string, top?: number, nextPageToken?: string)
List one page of releases with filters. Pass the returned nextPageToken back as nextPageToken to fetch the next page.
ArgumentTypeDescription
definitionId?number
definitionEnvironmentId?number
statusFilter?enum
environmentStatusFilter?number
createdBy?string
minCreatedTime?stringISO 8601 date-time.
maxCreatedTime?stringISO 8601 date-time.
queryOrder?enum
searchText?string
sourceBranchFilter?string
expand?stringe.g. 'environments,artifacts'.
top?number
nextPageToken?stringCursor returned as nextPageToken by a previous call.
fn getRelease(expand?: string)
Get one release with its environments and artifacts.
ArgumentTypeDescription
expand?stringe.g. 'tags'.
fn createRelease(description?: string, artifacts?: array, manualEnvironments?: array, isDraft?: boolean)
DESTRUCTIVE (may trigger automatic deployments): create a release from a definition. Requires confirm: true.
ArgumentTypeDescription
description?string
artifacts?arrayArtifact versions to pin.
manualEnvironments?arrayStage names that must start manually instead of automatically.
isDraft?boolean
fn updateReleaseEnvironment(status: enum, comment?: string, scheduledDeploymentTime?: string, variables?: record)
DESTRUCTIVE (can start, cancel or reject a deployment): update the status of a release environment. Requires confirm: true.
ArgumentTypeDescription
statusenum
comment?string
scheduledDeploymentTime?stringISO 8601 date-time; used with status 'scheduled'.
variables?recordVariable overrides for this deployment.
fn startDeployment(comment?: string, variables?: record)
DESTRUCTIVE (deploys): start deployment of a release environment (status inProgress). Requires confirm: true.
ArgumentTypeDescription
comment?string
variables?record
fn listApprovals(statusFilter?: enum, assignedToFilter?: string, releaseIdsFilter?: array, typeFilter?: enum, limit?: number)
List release approvals, e.g. pending ones for a release.
ArgumentTypeDescription
statusFilter?enum
assignedToFilter?stringDisplay name or unique name of the approver.
releaseIdsFilter?array
typeFilter?enum
limit?number
fn updateApproval(approvalId: number, decision: enum, comment?: string)
DESTRUCTIVE (approving lets a deployment proceed): approve or reject a release approval with a comment. Requires confirm: true.
ArgumentTypeDescription
approvalIdnumber
decisionenum
comment?string
fn getReleaseLog(releasePhaseId: number, taskId: number, startLine?: number, endLine?: number)
Get the log text of one task in a release environment.
ArgumentTypeDescription
releasePhaseIdnumberDeploy phase ID (releaseDeployPhases[].id).
taskIdnumberTask ID (deploymentJobs[].tasks[].id).
startLine?number
endLine?number
fn listDeployments(definitionId?: number, definitionEnvironmentId?: number, deploymentStatus?: enum, operationStatus?: string, minStartedTime?: string, maxStartedTime?: string, limit?: number)
List deployments, optionally for one definition or stage.
ArgumentTypeDescription
definitionId?number
definitionEnvironmentId?number
deploymentStatus?enum
operationStatus?stringe.g. 'QueuedForAgent', 'Approved'.
minStartedTime?stringISO 8601 date-time.
maxStartedTime?stringISO 8601 date-time.
limit?number
fn abandonRelease(comment?: string)
DESTRUCTIVE: abandon a release so it can no longer be deployed. Requires confirm: true.
ArgumentTypeDescription
comment?string
fn deleteDefinition(comment?: string, forceDelete?: boolean)
DESTRUCTIVE: permanently delete a release definition. Requires confirm: true.
ArgumentTypeDescription
comment?string
forceDelete?booleanAlso delete when releases still exist.
@adamchubbuck/azure-devops/artifactsv2026.10.28.1artifacts.ts
fn listFeeds(feedRole?: enum, includeDeletedUpstreams?: boolean)
List Azure Artifacts feeds visible to the caller.
ArgumentTypeDescription
feedRole?enum
includeDeletedUpstreams?boolean
fn getFeed()
Get one feed by name or ID.
fn createFeed(name: string, description?: string, upstreamEnabled?: boolean, hideDeletedPackageVersions?: boolean)
DESTRUCTIVE (creates a shared resource): create a feed. Requires confirm: true.
ArgumentTypeDescription
namestring
description?string
upstreamEnabled?booleanEnable upstream sources (public registries).
hideDeletedPackageVersions?boolean
fn deleteFeed()
DESTRUCTIVE: delete a feed and all packages in it. Requires confirm: true.
fn listPackages(protocolType?: string, packageNameQuery?: string, includeAllVersions?: boolean, includeDeleted?: boolean, view?: string, limit?: number)
List packages in a feed with optional filters.
ArgumentTypeDescription
protocolType?stringe.g. 'NuGet', 'Npm', 'Maven', 'PyPI', 'UPack'.
packageNameQuery?stringSubstring of the package name.
includeAllVersions?boolean
includeDeleted?boolean
view?stringFeed view name or ID, e.g. 'Release'.
limit?number
fn getPackage(packageId: string, includeAllVersions?: boolean)
Get one package (by package ID) from a feed.
ArgumentTypeDescription
packageIdstringPackage ID (GUID) from listPackages.
includeAllVersions?boolean
fn listPackageVersions(packageId: string, includeUrls?: boolean, isListed?: boolean, isDeleted?: boolean)
List versions of a package.
ArgumentTypeDescription
packageIdstring
includeUrls?boolean
isListed?boolean
isDeleted?boolean
fn getPackageVersion(packageId: string, packageVersionId: string, showDeleted?: boolean)
Get one version of a package (by version ID).
ArgumentTypeDescription
packageIdstring
packageVersionIdstringVersion ID (GUID) from listPackageVersions.
showDeleted?boolean
fn deletePackageVersion(packageName: string, version: string)
DESTRUCTIVE: move a package version to the feed recycle bin. Requires confirm: true.
ArgumentTypeDescription
packageNamestringPackage name; for maven use 'groupId:artifactId'; for npm scoped use '@scope/name'.
versionstring
fn promotePackageVersion(packageName: string, version: string, view: string, op?: enum)
DESTRUCTIVE (changes what consumers of a view receive): add or remove a package version in a feed view such as 'Release'. Requires confirm: true.
ArgumentTypeDescription
packageNamestring
versionstring
viewstringView name or ID, e.g. 'Release'.
op?enum
fn listFeedViews()
List the views of a feed (e.g. Local, Prerelease, Release).
fn listFeedPermissions(includeIds?: boolean, excludeInheritedPermissions?: boolean, identityDescriptor?: string)
List the permissions (role assignments) of a feed.
ArgumentTypeDescription
includeIds?boolean
excludeInheritedPermissions?boolean
identityDescriptor?string
fn getRetentionPolicy()
Get the retention policy of a feed.
fn listBuildArtifacts()
List the artifacts published by a build (normal host).
fn getBuildArtifact(artifactName: string)
Get one named artifact of a build, with its download URL.
ArgumentTypeDescription
artifactNamestring
@adamchubbuck/azure-devops/graphv2026.10.28.1graph.ts
fn listUsers(subjectTypes?: string, scopeDescriptor?: string)
List users in the organization (Graph, preview).
ArgumentTypeDescription
subjectTypes?stringComma-separated, e.g. 'aad,msa,vsts'.
scopeDescriptor?string
fn getUser()
Get one user by descriptor.
fn listGroups(scopeDescriptor?: string, subjectTypes?: string)
List groups in the organization or a scope.
ArgumentTypeDescription
scopeDescriptor?stringRestrict to a project scope descriptor.
subjectTypes?string
fn getGroup()
Get one group by descriptor.
fn createGroup(displayName: string, description?: string, scopeDescriptor?: string, groupDescriptors?: array)
DESTRUCTIVE (changes access control): create a VSTS group, optionally scoped to a project. Requires confirm: true.
ArgumentTypeDescription
displayNamestring
description?string
scopeDescriptor?stringProject scope descriptor; omit for an organization-level group.
groupDescriptors?arrayParent groups the new group should join.
fn deleteGroup()
DESTRUCTIVE: delete a VSTS group by descriptor. Requires confirm: true.
fn listMemberships(direction?: enum, depth?: number)
List memberships of a subject: containers it belongs to (up) or members it contains (down).
ArgumentTypeDescription
direction?enum
depth?number
fn addMembership()
DESTRUCTIVE (grants access): add a subject to a container group. Requires confirm: true.
fn removeMembership()
DESTRUCTIVE (revokes access): remove a subject from a container group. Requires confirm: true.
fn getDescriptor(storageKey: string)
Resolve a storage key (GUID) to its Graph descriptor.
ArgumentTypeDescription
storageKeystringStorage key GUID.
fn listDescriptors(storageKeys: array)
Resolve several storage keys to descriptors (one call per key, results merged).
ArgumentTypeDescription
storageKeysarray
fn getStorageKey()
Resolve a Graph descriptor to its storage key (GUID).
fn lookupSubjects(descriptors: array)
Look up multiple subjects by descriptor in one call.
ArgumentTypeDescription
descriptorsarray
fn searchIdentities(searchFilter?: enum, filterValue: string, queryMembership?: enum)
Search identities (users/groups) by display name, account name or mail address.
ArgumentTypeDescription
searchFilter?enum
filterValuestring
queryMembership?enum
@adamchubbuck/azure-devops/securityv2026.10.28.1security.ts
fn listSecurityNamespaces(localOnly?: boolean)
List security namespaces, their actions and bit values.
ArgumentTypeDescription
localOnly?boolean
fn getSecurityNamespace()
Get one security namespace (including its actions).
fn listAccessControlLists(descriptors?: string, includeExtendedInfo?: boolean, recurse?: boolean)
List access control lists in a namespace.
ArgumentTypeDescription
descriptors?stringComma-separated identity descriptors to filter by.
includeExtendedInfo?boolean
recurse?boolean
fn queryAccessControlEntries(descriptors?: string, includeExtendedInfo?: boolean)
Query the access control entries (ACEs) on one token, flattened from its ACL.
ArgumentTypeDescription
descriptors?string
includeExtendedInfo?boolean
fn setAccessControlEntries(merge?: boolean, accessControlEntries: array)
DESTRUCTIVE (changes permissions): add or replace ACEs on a token. Requires confirm: true.
ArgumentTypeDescription
merge?booleanMerge bits into existing ACEs (true) or replace them (false).
accessControlEntriesarray
fn removeAccessControlEntries(descriptors: array)
DESTRUCTIVE (revokes permissions): remove the ACEs of given identities from a token. Requires confirm: true.
ArgumentTypeDescription
descriptorsarray
fn hasPermissions(permissions: number, tokens?: array, alwaysAllowAdministrators?: boolean, descriptor?: string)
Check whether the caller (or given identity) has a permission bitmask on tokens in a namespace.
ArgumentTypeDescription
permissionsnumberPermission bitmask to check (use 0 to omit).
tokens?array
alwaysAllowAdministrators?boolean
descriptor?stringCheck for this identity instead of the caller.
@adamchubbuck/azure-devops/wikiv2026.10.28.1wiki.ts
fn listWikis()
List wikis in a project (or the whole organization).
fn getWiki()
Get one wiki by ID or name.
fn createWiki(name: string, type?: enum, projectId?: string, repositoryId?: string, mappedPath?: string, version?: string)
DESTRUCTIVE (creates a wiki): create a project wiki or publish a code wiki from a repository folder. Requires confirm: true.
ArgumentTypeDescription
namestring
type?enum
projectId?stringProject ID (GUID); required by the API for both wiki types.
repositoryId?stringRequired for codeWiki.
mappedPath?stringRepo folder published as the wiki (codeWiki).
version?stringBranch to publish (codeWiki), e.g. 'main'.
fn deleteWiki()
DESTRUCTIVE: delete a wiki (and its content for project wikis). Requires confirm: true.
fn listPages(pageViewsForDays?: number, limit?: number)
List pages of a wiki (batch API; page metadata only).
ArgumentTypeDescription
pageViewsForDays?number
limit?number
fn getPage(includeContent?: boolean, recursionLevel?: enum)
Get a wiki page by path, optionally with its content.
ArgumentTypeDescription
includeContent?boolean
recursionLevel?enum
fn getPageById(includeContent?: boolean)
Get a wiki page by numeric ID, optionally with content.
ArgumentTypeDescription
includeContent?boolean
fn createOrUpdatePage(content: string, comment?: string, etag?: string)
DESTRUCTIVE (writes content): create a page, or update an existing one by supplying its current ETag (sent as If-Match). Requires confirm: true.
ArgumentTypeDescription
contentstringMarkdown content of the page.
comment?stringEdit comment.
etag?stringCurrent ETag of the page; required to update an existing page, omit to create.
fn deletePage(comment?: string)
DESTRUCTIVE: delete a wiki page (and its subpages) by path. Requires confirm: true.
ArgumentTypeDescription
comment?string
fn getPageStats(pageViewsForDays?: number)
Get view statistics of a wiki page.
ArgumentTypeDescription
pageViewsForDays?number
@adamchubbuck/azure-devops/dashboardsv2026.10.28.1dashboards.ts
fn listDashboards()
List dashboards of a team.
fn getDashboard()
Get a dashboard with its widgets.
fn createDashboard(name: string, description?: string, refreshInterval?: number, widgets?: array)
DESTRUCTIVE (creates content): create a dashboard for a team. Requires confirm: true.
ArgumentTypeDescription
namestring
description?string
refreshInterval?numberAuto-refresh interval in minutes (0 = off).
widgets?array
fn updateDashboard(name: string, description?: string, refreshInterval?: number, widgets?: array)
DESTRUCTIVE (replaces content): replace a dashboard definition (name, description, widgets). Requires confirm: true.
ArgumentTypeDescription
namestring
description?string
refreshInterval?number
widgets?array
fn deleteDashboard()
DESTRUCTIVE: delete a dashboard. Requires confirm: true.
fn listWidgets()
List widgets on a dashboard.
fn getWidget()
Get one widget on a dashboard.
fn addWidget()
DESTRUCTIVE (modifies dashboard): add a widget to a dashboard. Requires confirm: true.
fn updateWidget()
DESTRUCTIVE (modifies dashboard): replace a widget definition. Requires confirm: true.
fn deleteWidget()
DESTRUCTIVE: delete a widget from a dashboard. Requires confirm: true.
fn listWidgetTypes(scope?: enum)
List widget types available in the project.
ArgumentTypeDescription
scope?enum
@adamchubbuck/azure-devops/servicehooksv2026.10.28.1servicehooks.ts
fn listPublishers()
List service hook publishers (event sources).
fn listConsumers()
List service hook consumers (targets).
fn getConsumer(consumerId: string)
Get one consumer and its input descriptors.
ArgumentTypeDescription
consumerIdstring
fn listConsumerActions(consumerId: string)
List the actions of a consumer.
ArgumentTypeDescription
consumerIdstring
fn listEventTypes(publisherId: string)
List the event types of a publisher.
ArgumentTypeDescription
publisherIdstringe.g. 'tfs'.
fn listSubscriptions(publisherId?: string, eventType?: string, consumerId?: string, consumerActionId?: string)
List subscriptions, optionally filtered.
ArgumentTypeDescription
publisherId?string
eventType?string
consumerId?string
consumerActionId?string
fn getSubscription()
Get one subscription.
fn createSubscription()
DESTRUCTIVE (starts sending events to an external target): create a subscription. Secret consumer inputs go in secretConsumerInputs. Requires confirm: true.
fn replaceSubscription()
DESTRUCTIVE: replace an existing subscription definition. Requires confirm: true.
fn deleteSubscription()
DESTRUCTIVE: delete a subscription. Requires confirm: true.
fn testSubscription()
DESTRUCTIVE (sends a test event to the external target): send a test notification for an existing subscription. Requires confirm: true.
fn listNotifications(status?: string, result?: string, maxResults?: number)
List delivery notifications of a subscription.
ArgumentTypeDescription
status?stringe.g. 'failed', 'processing', 'queued', 'completed'.
result?stringe.g. 'succeeded', 'failed', 'pending'.
maxResults?number
fn getNotification(notificationId: number)
Get one notification, including request/response details.
ArgumentTypeDescription
notificationIdnumber
fn queryNotifications(subscriptionIds?: array, status?: string, result?: string, publisherId?: string, eventType?: string, minCreatedDate?: string, maxCreatedDate?: string, maxResults?: number)
Query notifications across subscriptions by filter.
ArgumentTypeDescription
subscriptionIds?array
status?string
result?string
publisherId?string
eventType?string
minCreatedDate?stringISO 8601.
maxCreatedDate?stringISO 8601.
maxResults?number
03Previous Versions1
2026.10.28.1MIT
04Stats
A
100 / 100
Downloads
0
Archive size
78.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels