capability_id: project_v2.org.view
version: "1.0.0"
description: Get an organization Projects v2 project.
input_schema:
  type: object
  required: [org, projectNumber]
  properties:
    org: { type: string, minLength: 1 }
    projectNumber: { type: integer, minimum: 1 }
  additionalProperties: false
output_schema:
  type: object
  required: [id, title, shortDescription, public, closed, url]
  properties:
    id: { type: [string, "null"] }
    title: { type: [string, "null"] }
    shortDescription: { type: [string, "null"] }
    public: { type: [boolean, "null"] }
    closed: { type: [boolean, "null"] }
    url: { type: [string, "null"] }
  additionalProperties: false
routing:
  preferred: graphql
  fallbacks: [cli]
graphql:
  operationName: ProjectV2OrgView
  operationType: query
  documentPath: src/gql/operations/project-v2-org-view.graphql
cli:
  command: project view
