Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create a tree
GITHUB_CREATE_A_TREECreates a new Git tree object in a repository, defining file/directory structure by specifying tree entries, optionally building on a `base_tree` SHA; all provided SHAs must be valid.
Create a user project
GITHUB_CREATE_A_USER_PROJECTCreates a GitHub Projects V2 project board for the authenticated user using the GraphQL API. An optional project description is accepted but not applied during creation.
Create a workflow dispatch event
GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENTManually triggers a GitHub Actions workflow identified by `workflow_id` at a given `ref`, if the workflow is configured to accept `workflow_dispatch` events.
Create a branch
GITHUB_CREATE_BRANCHCreates a new branch in a GitHub repository pointing to a specified commit. Use this action when you need to create a new branch from an existing commit SHA. IMPORTANT: This action only creates NEW branches. If the branch already exists, it will fail with a 422 'Reference already exists' error. The repository must not be empty (must have at least one commit) before creating a branch.
Create commit signature protection
GITHUB_CREATE_COMMIT_SIGNATURE_PROTECTIONEnables commit signature protection for a specified branch, requiring all new commits to be signed.
Create a custom deployment protection rule on an environment
GITHUB_CREATE_DEPLOYMENT_PROTECTION_RULEEnables a custom deployment protection rule for an existing environment in a repository by linking a configured GitHub App (via `integration_id`) to control deployments.
Create draft item for user project
GITHUB_CREATE_DRAFT_ITEM_FOR_USER_PROJECTCreates a draft issue item in a user-owned GitHub ProjectsV2. Use when you need to add a new draft item to track ideas or tasks in a user's project.
Create inference chat completions
GITHUB_CREATE_INFERENCE_CHAT_COMPLETIONSTool to create chat completions using GitHub Models inference API. Use when you need to generate AI-powered text responses using models like GPT-4, Claude, or Llama through GitHub's inference endpoint.
Create inference embeddings
GITHUB_CREATE_INFERENCE_EMBEDDINGSTool to create inference embeddings using GitHub's AI models. Use when you need to convert text into vector representations for similarity search, clustering, or other ML tasks.
Create issue type
GITHUB_CREATE_ISSUE_TYPECreate a new issue type for a GitHub organization. Requires the authenticated user to be an organization administrator. OAuth tokens need admin:org scope.
Create JIT runner config for repo
GITHUB_CREATE_JIT_RUNNER_CONFIGGenerates a temporary Just-In-Time (JIT) configuration for a new self-hosted GitHub Actions runner for a repository; any specified non-default `runner_group_id` must be an existing runner group accessible by the repository.
Create or update an environment
GITHUB_CREATE_OR_UPDATE_AN_ENVIRONMENTCreates a new environment or updates an existing one in a GitHub repository, allowing configuration of deployment protection rules such as wait timers and reviewers; ensure `environment_name` is URL-encoded if it contains special characters.
Create or update an environment secret
GITHUB_CREATE_OR_UPDATE_AN_ENVIRONMENT_SECRETCreates or updates an environment secret with an `encrypted_value` that was encrypted using the public key identified by `key_id` for the specified environment.
Create or update an organization secret
GITHUB_CREATE_OR_UPDATE_AN_ORGANIZATION_SECRETCreates or updates an organization secret for GitHub Actions, requiring its value to be pre-encrypted via LibSodium using the organization's public key.
Create or update a repository secret
GITHUB_CREATE_OR_UPDATE_A_REPOSITORY_SECRETCreates or updates a GitHub Actions secret within a specific repository; use `encrypted_value` and `key_id` to set or change its value.
Create or update a secret for the authenticated user
GITHUB_CREATE_OR_UPDATE_A_SECRET_FOR_THE_AUTHENTICATED_USERCreates or updates a Codespaces secret for the authenticated user, optionally restricting access to selected repositories. Accepts plaintext and encrypts it using the user's GitHub public key, or accepts a pre-encrypted value with its key ID.
Create or update custom properties for an organization
GITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTIES_FOR_AN_ORGCreates new custom property schemas or updates existing ones in bulk for a specified organization; each property definition must include `property_name` and `value_type`.
Create or update a custom property for an organization
GITHUB_CREATE_OR_UPDATE_CUSTOM_PROPERTY_ORGCreates a new custom property (name must be unique for creation) or updates an existing one for an organization to define metadata for its repositories.
Create or update file contents
GITHUB_CREATE_OR_UPDATE_FILE_CONTENTSCreates or updates a file in a GitHub repository with a commit message and supplied content. A missing non-default branch may result in the change being committed to the repository's default branch. Content may be supplied as plain text or Base64.
Create or Update GitHub Pages Site
GITHUB_CREATE_OR_UPDATE_GITHUB_PAGES_SITEEnables or updates GitHub Pages configuration for a repository, including source, custom domain and HTTPS settings. The build type defaults to legacy, which requires a source branch even when updating an existing site.