Skip to main content
MUTATION
createCommandDefinition(input: CommandDefinitionInput!): CommandDefinition!

Arguments

Values for the requested operation.

id
ID!

Stable identifier for this command definition.

name
String!

Display name of this command definition.

description
String!

Human-readable description of this command definition.

script
String!

The script associated with this command definition.

The target kind associated with this command definition.

targetAgentId
ID

Identifier of the related target agent. May be null when unavailable or not applicable.

targetAgent

The target agent associated with this command definition. May be null when unavailable or not applicable.

targetRepositoryId
ID

Identifier of the related target repository. May be null when unavailable or not applicable.

targetRepository

The target repository associated with this command definition. May be null when unavailable or not applicable.

restartPolicy

The restart policy associated with this command definition.

restartLimit
Int

The restart limit associated with this command definition. May be null when unavailable or not applicable.

concurrency

The concurrency mode deciding whether runs of this command may share their target.

blocksGitOperations
Boolean!

Whether worktree runs of this command block Git and worktree operations on the codebase.

quickActionEnabled
Boolean!

Whether the quick action enabled condition is true for this command definition.

quickActionIconKey
String!

The quick action icon key associated with this command definition.

quickActionButtonVariant
String!

The quick action button variant associated with this command definition.

notificationsEnabled
Boolean!

Whether the notifications enabled condition is true for this command definition.

archivedAt
String

ISO 8601 timestamp when this command definition was archived. May be null when unavailable or not applicable.

createdAt
String!

ISO 8601 timestamp when this command definition was created.

updatedAt
String!

ISO 8601 timestamp when this command definition was last updated.

Mutation
Variables
Response