|
6 | 6 | "description": "Add, update, or delete project items in a GitHub Project.", |
7 | 7 | "inputSchema": { |
8 | 8 | "properties": { |
| 9 | + "issue_number": { |
| 10 | + "description": "The issue number (use when item_type is 'issue' for 'add_project_item' method). Provide either issue_number or pull_request_number.", |
| 11 | + "type": "number" |
| 12 | + }, |
9 | 13 | "item_id": { |
10 | | - "description": "The project item ID. Required for 'update_project_item' and 'delete_project_item' methods. For add_project_item, this is the numeric ID of the issue or pull request to add.", |
| 14 | + "description": "The project item ID. Required for 'update_project_item' and 'delete_project_item' methods.", |
11 | 15 | "type": "number" |
12 | 16 | }, |
| 17 | + "item_owner": { |
| 18 | + "description": "The owner (user or organization) of the repository containing the issue or pull request. Required for 'add_project_item' method.", |
| 19 | + "type": "string" |
| 20 | + }, |
| 21 | + "item_repo": { |
| 22 | + "description": "The name of the repository containing the issue or pull request. Required for 'add_project_item' method.", |
| 23 | + "type": "string" |
| 24 | + }, |
13 | 25 | "item_type": { |
14 | 26 | "description": "The item's type, either issue or pull_request. Required for 'add_project_item' method.", |
15 | 27 | "enum": [ |
|
28 | 40 | "type": "string" |
29 | 41 | }, |
30 | 42 | "owner": { |
31 | | - "description": "If owner_type == user it is the handle for the GitHub user account. If owner_type == org it is the name of the organization. The name is not case sensitive.", |
| 43 | + "description": "The project owner (user or organization login). The name is not case sensitive.", |
32 | 44 | "type": "string" |
33 | 45 | }, |
34 | 46 | "owner_type": { |
35 | | - "description": "Owner type", |
| 47 | + "description": "Owner type (user or org). If not provided, will be automatically detected.", |
36 | 48 | "enum": [ |
37 | 49 | "user", |
38 | 50 | "org" |
|
43 | 55 | "description": "The project's number.", |
44 | 56 | "type": "number" |
45 | 57 | }, |
| 58 | + "pull_request_number": { |
| 59 | + "description": "The pull request number (use when item_type is 'pull_request' for 'add_project_item' method). Provide either issue_number or pull_request_number.", |
| 60 | + "type": "number" |
| 61 | + }, |
46 | 62 | "updated_field": { |
47 | 63 | "description": "Object consisting of the ID of the project field to update and the new value for the field. To clear the field, set value to null. Example: {\"id\": 123456, \"value\": \"New Value\"}. Required for 'update_project_item' method.", |
48 | 64 | "type": "object" |
49 | 65 | } |
50 | 66 | }, |
51 | 67 | "required": [ |
52 | 68 | "method", |
53 | | - "owner_type", |
54 | 69 | "owner", |
55 | 70 | "project_number" |
56 | 71 | ], |
|
0 commit comments