add_card_to_column
Add a card containing an issue, pull request, or note to a specific project column in a GitHub repository. Specify the owner, repo, column ID, and content type for precise placement.
Instructions
Add a new card to a project column
Input Schema
Name | Required | Description | Default |
---|---|---|---|
column_id | Yes | The ID of the column to add card to | |
content_id | No | ID of the issue or pull request (required if content_type is Issue or PullRequest) | |
content_type | Yes | Type of content for the card | |
note | No | The note content for the card (required if content_type is Note) | |
owner | Yes | Repository owner (username or organization) | |
repo | Yes | Repository name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"column_id": {
"description": "The ID of the column to add card to",
"type": "string"
},
"content_id": {
"description": "ID of the issue or pull request (required if content_type is Issue or PullRequest)",
"type": "number"
},
"content_type": {
"description": "Type of content for the card",
"enum": [
"Issue",
"PullRequest",
"Note"
],
"type": "string"
},
"note": {
"description": "The note content for the card (required if content_type is Note)",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"column_id",
"content_type"
],
"type": "object"
}