74 lines
2.8 KiB
Plaintext
74 lines
2.8 KiB
Plaintext
{
|
|
"annotations": {
|
|
"idempotentHint": false,
|
|
"readOnlyHint": true,
|
|
"title": "List GitHub Projects resources"
|
|
},
|
|
"description": "Tools for listing GitHub Projects resources.\nUse this tool to list projects for a user or organization, or list project fields and items for a specific project.\n",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"after": {
|
|
"description": "Forward pagination cursor from previous pageInfo.nextCursor.",
|
|
"type": "string"
|
|
},
|
|
"before": {
|
|
"description": "Backward pagination cursor from previous pageInfo.prevCursor (rare).",
|
|
"type": "string"
|
|
},
|
|
"field_names": {
|
|
"description": "Field names to include when listing project items (e.g. [\"Status\", \"Priority\"]). Resolved server-side to field IDs — pass this instead of 'fields' when you only know the human-readable names. Names that fail to resolve return a structured error. Mutually exclusive with 'fields' — provide one, not both. Only used for 'list_project_items' method.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"fields": {
|
|
"description": "Field IDs to include when listing project items (e.g. [\"102589\", \"985201\"]). CRITICAL: Always provide to get field values. Without this (and without 'field_names'), only titles returned. Mutually exclusive with 'field_names' — provide one, not both. Only used for 'list_project_items' method.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"method": {
|
|
"description": "The action to perform",
|
|
"enum": [
|
|
"list_projects",
|
|
"list_project_fields",
|
|
"list_project_items",
|
|
"list_project_status_updates"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "The owner (user or organization login). The name is not case sensitive.",
|
|
"type": "string"
|
|
},
|
|
"owner_type": {
|
|
"description": "Owner type (user or org). If not provided, will automatically try both.",
|
|
"enum": [
|
|
"user",
|
|
"org"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"per_page": {
|
|
"description": "Results per page (max 50)",
|
|
"type": "number"
|
|
},
|
|
"project_number": {
|
|
"description": "The project's number. Required for 'list_project_fields', 'list_project_items', and 'list_project_status_updates' methods.",
|
|
"type": "number"
|
|
},
|
|
"query": {
|
|
"description": "Filter/query string. For list_projects: filter by title text and state (e.g. \"roadmap is:open\"). For list_project_items: advanced filtering using GitHub's project filtering syntax.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"method",
|
|
"owner"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "projects_list"
|
|
} |