MCPcopy Create free account
hub / github.com/compozy/agh / CreateTaskChildRequest

Struct CreateTaskChildRequest

internal/api/contract/tasks.go:700–716  ·  view source on GitHub ↗

CreateTaskChildRequest is the shared child-task create payload.

Source from the content-addressed store, hash-verified

698
699// CreateTaskChildRequest is the shared child-task create payload.
700type CreateTaskChildRequest struct {
701 ID string `json:"id,omitempty"`
702 Identifier string `json:"identifier,omitempty"`
703 Scope taskpkg.Scope `json:"scope"`
704 Workspace string `json:"workspace,omitempty"`
705 NetworkChannel string `json:"network_channel,omitempty"`
706 Title string `json:"title"`
707 Description string `json:"description,omitempty"`
708 Priority taskpkg.Priority `json:"priority,omitempty"`
709 MaxAttempts *int `json:"max_attempts,omitempty"`
710 AutoEnqueueOnReady bool `json:"auto_enqueue_on_ready,omitempty"`
711 Draft bool `json:"draft,omitempty"`
712 ApprovalPolicy taskpkg.ApprovalPolicy `json:"approval_policy,omitempty"`
713 Owner *taskpkg.Ownership `json:"owner,omitempty"`
714 WakeCreator *bool `json:"wake_creator,omitempty"`
715 Metadata json.RawMessage `json:"metadata,omitempty"`
716}
717
718// UpdateTaskRequest is the shared task patch payload.
719type UpdateTaskRequest struct {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected