diff --git a/changelog.d/285.md b/changelog.d/285.md new file mode 100644 index 000000000..580e7141e --- /dev/null +++ b/changelog.d/285.md @@ -0,0 +1,5 @@ +--- +section: fixes +--- + +- **Graph block trays use the stage colour** (#285). The tray drawn around a block of graph cards (#272) used to be filled with the inset surface colour, so a graph whose block reached the side of a fitted view failed the `stage-surface` renderer check. It is now filled with the stage colour and distinguished by its border and by hiding the dot grid inside it. diff --git a/docs/guides/renderer-kit-graphs.md b/docs/guides/renderer-kit-graphs.md index c2a74647d..3659354a7 100644 --- a/docs/guides/renderer-kit-graphs.md +++ b/docs/guides/renderer-kit-graphs.md @@ -94,12 +94,12 @@ baseline. relationship, they wrap into a block instead of stretching their layer into one long row. Sharing every relationship means having the same sources and targets, of the same kinds, drawn the same way (`LayoutEdge.bundle`). ELK places the -block as a single node. Its cards fill lines in reading order inside an inset -tray about three times as broad as it is deep; in a top-to-bottom graph, the -cards sit on the column grid. One route runs from each source into the tray, -entering directly across from the source where possible, and one route runs from -the tray to each target. Each relationship keeps its own link on the shared -route so it can still be selected and marked. Links into or out of a tray carry +block as a single node. Its cards fill lines in reading order inside a tray +about three times as broad as it is deep; in a top-to-bottom graph, the cards +sit on the column grid. One route runs from each source into the tray, entering +directly across from the source where possible, and one route runs from the tray +to each target. Each relationship keeps its own link on the shared route so it +can still be selected and marked. Links into or out of a tray carry `data-to-block` or `data-from-block`. The canvas draws each tray under its cards with a caption that counts the cards and, while changes are emphasized, shows how many each change touches (`11 tools +11`). `GraphLayout.blocks` lists each diff --git a/packages/renderers/graph/fixtures/make-mcp-tools.mjs b/packages/renderers/graph/fixtures/make-mcp-tools.mjs index d2e7938ab..dc738654e 100644 --- a/packages/renderers/graph/fixtures/make-mcp-tools.mjs +++ b/packages/renderers/graph/fixtures/make-mcp-tools.mjs @@ -1,8 +1,13 @@ -// Regenerates `mcp-tools-before.json` and `mcp-tools-after.json`: the GitHub MCP Server's tools, the toolsets that -// contain them and the OAuth scopes each may ask for, as its `list-scopes --toolsets=all` command reports them (tool -// names, toolsets and scopes are public, in github/github-mcp-server). The after revision adds the -// `copilot_automations` toolset and its 11 tools, every one requiring `repo`: a wide fan-out from one toolset into one -// scope among about 140 unchanged tools, 22 more toolsets and 12 scopes. +// Regenerates the GitHub MCP Server's tools, the toolsets that contain them and the OAuth scopes each may ask for, as +// its `list-scopes --toolsets=all` command reports them (tool names, toolsets and scopes are public, in +// github/github-mcp-server). The after revision adds the `copilot_automations` toolset and its 11 tools, every one +// requiring `repo`: a wide fan-out from one toolset into one scope among unchanged tools. +// +// - `mcp-tools-full-before.json` and `-after.json`: the whole inventory, about 140 unchanged tools in 22 more toolsets +// and 12 scopes, for the kit's layout performance tests. +// - `mcp-tools-before.json` and `-after.json`: the `graph/mcp-tools` scenario, the arrival among eight of those +// toolsets (`scenarioToolsets`). Every browser suite lays each scenario out many times, in every engine, so it stays +// the size of the other graph scenarios: the whole inventory's checks outlast their time on CI runners. // // node packages/renderers/graph/fixtures/make-mcp-tools.mjs import {writeFileSync} from 'node:fs' @@ -214,14 +219,20 @@ const toolsets = { const added = 'copilot_automations' -function extraction(withAdded) { +/** + * The toolsets the scenario keeps besides the arrival: some whose tools require `repo` beside it, and some with other + * scopes (one, `notifications`, a block of its own). + */ +const scenarioToolsets = new Set([added, 'actions', 'code_security', 'context', 'copilot', 'dependabot', 'gists', 'labels', 'notifications']) + +function extraction(withAdded, kept = () => true) { const entities = [] const relationships = [] const scopes = new Set() // A tool in two toolsets (`get_label`) is one tool that both contain. const seen = new Set() for (const [toolset, tools] of Object.entries(toolsets)) { - if (toolset === added && !withAdded) continue + if ((toolset === added && !withAdded) || !kept(toolset)) continue entities.push({id: `toolset:${toolset}`, kind: 'toolset', label: toolset}) for (const line of tools) { const [name, access, listed = 'repo'] = line.split(' ') @@ -243,5 +254,7 @@ for (const [name, withAdded] of [ ['before', false], ['after', true], ]) { - writeFileSync(path.join(here, `mcp-tools-${name}.json`), `${JSON.stringify(extraction(withAdded), null, 2)}\n`) + writeFileSync(path.join(here, `mcp-tools-full-${name}.json`), `${JSON.stringify(extraction(withAdded), null, 2)}\n`) + const scenario = extraction(withAdded, toolset => scenarioToolsets.has(toolset)) + writeFileSync(path.join(here, `mcp-tools-${name}.json`), `${JSON.stringify(scenario, null, 2)}\n`) } diff --git a/packages/renderers/graph/fixtures/mcp-tools-after.json b/packages/renderers/graph/fixtures/mcp-tools-after.json index 44248aa6c..522e7ca13 100644 --- a/packages/renderers/graph/fixtures/mcp-tools-after.json +++ b/packages/renderers/graph/fixtures/mcp-tools-after.json @@ -39,27 +39,6 @@ "readOnly": true } }, - { - "id": "toolset:code_quality", - "kind": "toolset", - "label": "code_quality" - }, - { - "id": "tool:get_code_quality_finding", - "kind": "tool", - "label": "get_code_quality_finding", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_code_quality_findings", - "kind": "tool", - "label": "list_code_quality_findings", - "data": { - "readOnly": true - } - }, { "id": "toolset:code_security", "kind": "toolset", @@ -240,19 +219,6 @@ "readOnly": false } }, - { - "id": "toolset:copilot_issue_intents", - "kind": "toolset", - "label": "copilot_issue_intents" - }, - { - "id": "tool:assign_copilot_to_issue_with_intent", - "kind": "tool", - "label": "assign_copilot_to_issue_with_intent", - "data": { - "readOnly": false - } - }, { "id": "toolset:dependabot", "kind": "toolset", @@ -282,51 +248,6 @@ "readOnly": false } }, - { - "id": "toolset:discussions", - "kind": "toolset", - "label": "discussions" - }, - { - "id": "tool:discussion_comment_write", - "kind": "tool", - "label": "discussion_comment_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_discussion", - "kind": "tool", - "label": "get_discussion", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_discussion_comments", - "kind": "tool", - "label": "get_discussion_comments", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_discussion_categories", - "kind": "tool", - "label": "list_discussion_categories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_discussions", - "kind": "tool", - "label": "list_discussions", - "data": { - "readOnly": true - } - }, { "id": "toolset:gists", "kind": "toolset", @@ -365,2897 +286,581 @@ } }, { - "id": "toolset:git", + "id": "toolset:labels", "kind": "toolset", - "label": "git" + "label": "labels" }, { - "id": "tool:get_repository_tree", + "id": "tool:get_label", "kind": "tool", - "label": "get_repository_tree", + "label": "get_label", "data": { "readOnly": true } }, { - "id": "toolset:governance", - "kind": "toolset", - "label": "governance" - }, - { - "id": "tool:create_repository_ruleset", + "id": "tool:label_write", "kind": "tool", - "label": "create_repository_ruleset", + "label": "label_write", "data": { "readOnly": false } }, { - "id": "tool:custom_properties_read", + "id": "tool:list_label", "kind": "tool", - "label": "custom_properties_read", + "label": "list_label", "data": { "readOnly": true } }, { - "id": "tool:custom_properties_write", + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", "kind": "tool", - "label": "custom_properties_write", + "label": "dismiss_notification", "data": { "readOnly": false } }, { - "id": "tool:repository_ruleset_read", + "id": "tool:get_notification_details", "kind": "tool", - "label": "repository_ruleset_read", + "label": "get_notification_details", "data": { "readOnly": true } }, { - "id": "toolset:issues", - "kind": "toolset", - "label": "issues" - }, - { - "id": "tool:add_issue_comment", + "id": "tool:list_notifications", "kind": "tool", - "label": "add_issue_comment", + "label": "list_notifications", "data": { - "readOnly": false + "readOnly": true } }, { - "id": "tool:add_issue_comment_reaction", + "id": "tool:manage_notification_subscription", "kind": "tool", - "label": "add_issue_comment_reaction", + "label": "manage_notification_subscription", "data": { "readOnly": false } }, { - "id": "tool:add_issue_reaction", + "id": "tool:manage_repository_notification_subscription", "kind": "tool", - "label": "add_issue_reaction", + "label": "manage_repository_notification_subscription", "data": { "readOnly": false } }, { - "id": "tool:add_sub_issue", + "id": "tool:mark_all_notifications_read", "kind": "tool", - "label": "add_sub_issue", + "label": "mark_all_notifications_read", "data": { "readOnly": false } }, { - "id": "tool:create_issue", - "kind": "tool", - "label": "create_issue", - "data": { - "readOnly": false - } + "id": "scope:gist", + "kind": "scope", + "label": "gist" }, { - "id": "tool:find_duplicate", - "kind": "tool", - "label": "find_duplicate", - "data": { - "readOnly": true - } + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" }, { - "id": "tool:get_label", - "kind": "tool", - "label": "get_label", - "data": { - "readOnly": true - } + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" }, { - "id": "tool:hide_issue_comment", - "kind": "tool", - "label": "hide_issue_comment", - "data": { - "readOnly": false - } + "id": "scope:repo", + "kind": "scope", + "label": "repo" }, { - "id": "tool:issue_artifact_read", - "kind": "tool", - "label": "issue_artifact_read", - "data": { - "readOnly": true - } + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" }, { - "id": "tool:issue_artifact_write", - "kind": "tool", - "label": "issue_artifact_write", - "data": { - "readOnly": false - } + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" }, { - "id": "tool:issue_dependency_read", - "kind": "tool", - "label": "issue_dependency_read", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" }, { - "id": "tool:issue_dependency_write", - "kind": "tool", - "label": "issue_dependency_write", - "data": { - "readOnly": false - } + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" }, { - "id": "tool:issue_read", - "kind": "tool", - "label": "issue_read", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" }, { - "id": "tool:issue_write", - "kind": "tool", - "label": "issue_write", - "data": { - "readOnly": false - } + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" }, { - "id": "tool:list_issue_fields", - "kind": "tool", - "label": "list_issue_fields", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" }, { - "id": "tool:list_issue_types", - "kind": "tool", - "label": "list_issue_types", - "data": { - "readOnly": true - } + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" }, { - "id": "tool:list_issues", - "kind": "tool", - "label": "list_issues", - "data": { - "readOnly": true - } + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" }, { - "id": "tool:remove_issue_comment_reaction", - "kind": "tool", - "label": "remove_issue_comment_reaction", - "data": { - "readOnly": false - } + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" }, { - "id": "tool:remove_issue_reaction", - "kind": "tool", - "label": "remove_issue_reaction", - "data": { - "readOnly": false - } + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" }, { - "id": "tool:remove_sub_issue", - "kind": "tool", - "label": "remove_sub_issue", - "data": { - "readOnly": false - } + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" }, { - "id": "tool:reprioritize_sub_issue", - "kind": "tool", - "label": "reprioritize_sub_issue", - "data": { - "readOnly": false - } + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" }, { - "id": "tool:search_issues", - "kind": "tool", - "label": "search_issues", - "data": { - "readOnly": true - } + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" }, { - "id": "tool:set_issue_fields", - "kind": "tool", - "label": "set_issue_fields", - "data": { - "readOnly": false - } + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" }, { - "id": "tool:sub_issue_write", - "kind": "tool", - "label": "sub_issue_write", - "data": { - "readOnly": false - } + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" }, { - "id": "tool:unhide_issue_comment", - "kind": "tool", - "label": "unhide_issue_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_assignees", - "kind": "tool", - "label": "update_issue_assignees", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_body", - "kind": "tool", - "label": "update_issue_body", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_comment", - "kind": "tool", - "label": "update_issue_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_labels", - "kind": "tool", - "label": "update_issue_labels", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_milestone", - "kind": "tool", - "label": "update_issue_milestone", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_state", - "kind": "tool", - "label": "update_issue_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_title", - "kind": "tool", - "label": "update_issue_title", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_type", - "kind": "tool", - "label": "update_issue_type", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:labels", - "kind": "toolset", - "label": "labels" - }, - { - "id": "tool:label_write", - "kind": "tool", - "label": "label_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:list_label", - "kind": "tool", - "label": "list_label", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:notifications", - "kind": "toolset", - "label": "notifications" - }, - { - "id": "tool:dismiss_notification", - "kind": "tool", - "label": "dismiss_notification", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_notification_details", - "kind": "tool", - "label": "get_notification_details", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_notifications", - "kind": "tool", - "label": "list_notifications", - "data": { - "readOnly": true - } - }, - { - "id": "tool:manage_notification_subscription", - "kind": "tool", - "label": "manage_notification_subscription", - "data": { - "readOnly": false - } - }, - { - "id": "tool:manage_repository_notification_subscription", - "kind": "tool", - "label": "manage_repository_notification_subscription", - "data": { - "readOnly": false - } - }, - { - "id": "tool:mark_all_notifications_read", - "kind": "tool", - "label": "mark_all_notifications_read", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:orgs", - "kind": "toolset", - "label": "orgs" - }, - { - "id": "tool:search_orgs", - "kind": "tool", - "label": "search_orgs", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:projects", - "kind": "toolset", - "label": "projects" - }, - { - "id": "tool:projects_get", - "kind": "tool", - "label": "projects_get", - "data": { - "readOnly": true - } - }, - { - "id": "tool:projects_list", - "kind": "tool", - "label": "projects_list", - "data": { - "readOnly": true - } - }, - { - "id": "tool:projects_write", - "kind": "tool", - "label": "projects_write", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:pull_requests", - "kind": "toolset", - "label": "pull_requests" - }, - { - "id": "tool:add_comment_to_pending_review", - "kind": "tool", - "label": "add_comment_to_pending_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_pull_request_review_comment", - "kind": "tool", - "label": "add_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_pull_request_review_comment_reaction", - "kind": "tool", - "label": "add_pull_request_review_comment_reaction", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_reply_to_pull_request_comment", - "kind": "tool", - "label": "add_reply_to_pull_request_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_pull_request", - "kind": "tool", - "label": "create_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_pull_request_review", - "kind": "tool", - "label": "create_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_pending_pull_request_review", - "kind": "tool", - "label": "delete_pending_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:hide_pull_request_review", - "kind": "tool", - "label": "hide_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:hide_pull_request_review_comment", - "kind": "tool", - "label": "hide_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:list_pull_requests", - "kind": "tool", - "label": "list_pull_requests", - "data": { - "readOnly": true - } - }, - { - "id": "tool:merge_pull_request", - "kind": "tool", - "label": "merge_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:pull_request_artifact_read", - "kind": "tool", - "label": "pull_request_artifact_read", - "data": { - "readOnly": true - } - }, - { - "id": "tool:pull_request_artifact_write", - "kind": "tool", - "label": "pull_request_artifact_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:pull_request_read", - "kind": "tool", - "label": "pull_request_read", - "data": { - "readOnly": true - } - }, - { - "id": "tool:pull_request_review_write", - "kind": "tool", - "label": "pull_request_review_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:remove_pull_request_review_comment_reaction", - "kind": "tool", - "label": "remove_pull_request_review_comment_reaction", - "data": { - "readOnly": false - } - }, - { - "id": "tool:request_pull_request_reviewers", - "kind": "tool", - "label": "request_pull_request_reviewers", - "data": { - "readOnly": false - } - }, - { - "id": "tool:resolve_review_thread", - "kind": "tool", - "label": "resolve_review_thread", - "data": { - "readOnly": false - } - }, - { - "id": "tool:search_pull_requests", - "kind": "tool", - "label": "search_pull_requests", - "data": { - "readOnly": true - } - }, - { - "id": "tool:submit_pending_pull_request_review", - "kind": "tool", - "label": "submit_pending_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unhide_pull_request_review", - "kind": "tool", - "label": "unhide_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unhide_pull_request_review_comment", - "kind": "tool", - "label": "unhide_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unresolve_review_thread", - "kind": "tool", - "label": "unresolve_review_thread", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request", - "kind": "tool", - "label": "update_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_body", - "kind": "tool", - "label": "update_pull_request_body", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_branch", - "kind": "tool", - "label": "update_pull_request_branch", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_draft_state", - "kind": "tool", - "label": "update_pull_request_draft_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_state", - "kind": "tool", - "label": "update_pull_request_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_title", - "kind": "tool", - "label": "update_pull_request_title", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:repos", - "kind": "toolset", - "label": "repos" - }, - { - "id": "tool:create_branch", - "kind": "tool", - "label": "create_branch", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_or_update_file", - "kind": "tool", - "label": "create_or_update_file", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_repository", - "kind": "tool", - "label": "create_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_file", - "kind": "tool", - "label": "delete_file", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_repository", - "kind": "tool", - "label": "delete_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:fork_repository", - "kind": "tool", - "label": "fork_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_commit", - "kind": "tool", - "label": "get_commit", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_file_blame", - "kind": "tool", - "label": "get_file_blame", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_file_contents", - "kind": "tool", - "label": "get_file_contents", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_latest_release", - "kind": "tool", - "label": "get_latest_release", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_release_by_tag", - "kind": "tool", - "label": "get_release_by_tag", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_tag", - "kind": "tool", - "label": "get_tag", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_branches", - "kind": "tool", - "label": "list_branches", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_commits", - "kind": "tool", - "label": "list_commits", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_releases", - "kind": "tool", - "label": "list_releases", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_repository_collaborators", - "kind": "tool", - "label": "list_repository_collaborators", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_tags", - "kind": "tool", - "label": "list_tags", - "data": { - "readOnly": true - } - }, - { - "id": "tool:push_files", - "kind": "tool", - "label": "push_files", - "data": { - "readOnly": false - } - }, - { - "id": "tool:search_code", - "kind": "tool", - "label": "search_code", - "data": { - "readOnly": true - } - }, - { - "id": "tool:search_commits", - "kind": "tool", - "label": "search_commits", - "data": { - "readOnly": true - } - }, - { - "id": "tool:search_repositories", - "kind": "tool", - "label": "search_repositories", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:secret_protection", - "kind": "toolset", - "label": "secret_protection" - }, - { - "id": "tool:get_secret_scanning_alert", - "kind": "tool", - "label": "get_secret_scanning_alert", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_secret_scanning_alerts", - "kind": "tool", - "label": "list_secret_scanning_alerts", - "data": { - "readOnly": true - } - }, - { - "id": "tool:update_secret_scanning_alert", - "kind": "tool", - "label": "update_secret_scanning_alert", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:security_advisories", - "kind": "toolset", - "label": "security_advisories" - }, - { - "id": "tool:get_global_security_advisory", - "kind": "tool", - "label": "get_global_security_advisory", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_global_security_advisories", - "kind": "tool", - "label": "list_global_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_org_repository_security_advisories", - "kind": "tool", - "label": "list_org_repository_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_repository_security_advisories", - "kind": "tool", - "label": "list_repository_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:stargazers", - "kind": "toolset", - "label": "stargazers" - }, - { - "id": "tool:list_starred_repositories", - "kind": "tool", - "label": "list_starred_repositories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:star_repository", - "kind": "tool", - "label": "star_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unstar_repository", - "kind": "tool", - "label": "unstar_repository", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:users", - "kind": "toolset", - "label": "users" - }, - { - "id": "tool:search_users", - "kind": "tool", - "label": "search_users", - "data": { - "readOnly": true - } - }, - { - "id": "scope:admin:enterprise", - "kind": "scope", - "label": "admin:enterprise" - }, - { - "id": "scope:admin:org", - "kind": "scope", - "label": "admin:org" - }, - { - "id": "scope:delete_repo", - "kind": "scope", - "label": "delete_repo" - }, - { - "id": "scope:gist", - "kind": "scope", - "label": "gist" - }, - { - "id": "scope:notifications", - "kind": "scope", - "label": "notifications" - }, - { - "id": "scope:project", - "kind": "scope", - "label": "project" - }, - { - "id": "scope:read:enterprise", - "kind": "scope", - "label": "read:enterprise" - }, - { - "id": "scope:read:org", - "kind": "scope", - "label": "read:org" - }, - { - "id": "scope:read:project", - "kind": "scope", - "label": "read:project" - }, - { - "id": "scope:repo", - "kind": "scope", - "label": "repo" - }, - { - "id": "scope:security_events", - "kind": "scope", - "label": "security_events" - }, - { - "id": "scope:workflow", - "kind": "scope", - "label": "workflow" - } - ], - "relationships": [ - { - "id": "toolset:actions->tool:actions_get", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_get" - }, - { - "id": "tool:actions_get->scope:repo", - "kind": "requires", - "from": "tool:actions_get", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:actions_list", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_list" - }, - { - "id": "tool:actions_list->scope:repo", - "kind": "requires", - "from": "tool:actions_list", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:actions_run_trigger", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_run_trigger" - }, - { - "id": "tool:actions_run_trigger->scope:repo", - "kind": "requires", - "from": "tool:actions_run_trigger", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:get_job_logs", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:get_job_logs" - }, - { - "id": "tool:get_job_logs->scope:repo", - "kind": "requires", - "from": "tool:get_job_logs", - "to": "scope:repo" - }, - { - "id": "toolset:code_quality->tool:get_code_quality_finding", - "kind": "contains", - "from": "toolset:code_quality", - "to": "tool:get_code_quality_finding" - }, - { - "id": "tool:get_code_quality_finding->scope:repo", - "kind": "requires", - "from": "tool:get_code_quality_finding", - "to": "scope:repo" - }, - { - "id": "toolset:code_quality->tool:list_code_quality_findings", - "kind": "contains", - "from": "toolset:code_quality", - "to": "tool:list_code_quality_findings" - }, - { - "id": "tool:list_code_quality_findings->scope:repo", - "kind": "requires", - "from": "tool:list_code_quality_findings", - "to": "scope:repo" - }, - { - "id": "toolset:code_security->tool:get_code_scanning_alert", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:get_code_scanning_alert" - }, - { - "id": "tool:get_code_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_code_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:code_security->tool:list_code_scanning_alerts", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:list_code_scanning_alerts" - }, - { - "id": "tool:list_code_scanning_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_code_scanning_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:code_security->tool:update_code_scanning_alert", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:update_code_scanning_alert" - }, - { - "id": "tool:update_code_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_code_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:context->tool:get_me", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_me" - }, - { - "id": "toolset:context->tool:get_team_members", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_team_members" - }, - { - "id": "tool:get_team_members->scope:read:org", - "kind": "requires", - "from": "tool:get_team_members", - "to": "scope:read:org" - }, - { - "id": "toolset:context->tool:get_teams", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_teams" - }, - { - "id": "tool:get_teams->scope:read:org", - "kind": "requires", - "from": "tool:get_teams", - "to": "scope:read:org" - }, - { - "id": "toolset:context->tool:ui_get", - "kind": "contains", - "from": "toolset:context", - "to": "tool:ui_get" - }, - { - "id": "tool:ui_get->scope:repo", - "kind": "requires", - "from": "tool:ui_get", - "to": "scope:repo" - }, - { - "id": "tool:ui_get->scope:read:org", - "kind": "requires", - "from": "tool:ui_get", - "to": "scope:read:org" - }, - { - "id": "toolset:copilot->tool:assign_copilot_to_issue", - "kind": "contains", - "from": "toolset:copilot", - "to": "tool:assign_copilot_to_issue" - }, - { - "id": "tool:assign_copilot_to_issue->scope:repo", - "kind": "requires", - "from": "tool:assign_copilot_to_issue", - "to": "scope:repo" - }, - { - "id": "toolset:copilot->tool:request_copilot_review", - "kind": "contains", - "from": "toolset:copilot", - "to": "tool:request_copilot_review" - }, - { - "id": "tool:request_copilot_review->scope:repo", - "kind": "requires", - "from": "tool:request_copilot_review", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:create_automation", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:create_automation" - }, - { - "id": "tool:create_automation->scope:repo", - "kind": "requires", - "from": "tool:create_automation", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:delete_automation", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:delete_automation" - }, - { - "id": "tool:delete_automation->scope:repo", - "kind": "requires", - "from": "tool:delete_automation", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:get_automation", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:get_automation" - }, - { - "id": "tool:get_automation->scope:repo", - "kind": "requires", - "from": "tool:get_automation", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:get_automation_revision", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:get_automation_revision" - }, - { - "id": "tool:get_automation_revision->scope:repo", - "kind": "requires", - "from": "tool:get_automation_revision", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:get_automations_configuration_for_repository", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:get_automations_configuration_for_repository" - }, - { - "id": "tool:get_automations_configuration_for_repository->scope:repo", - "kind": "requires", - "from": "tool:get_automations_configuration_for_repository", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:list_automation_revisions", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:list_automation_revisions" - }, - { - "id": "tool:list_automation_revisions->scope:repo", - "kind": "requires", - "from": "tool:list_automation_revisions", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:list_automations", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:list_automations" - }, - { - "id": "tool:list_automations->scope:repo", - "kind": "requires", - "from": "tool:list_automations", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:list_available_automation_tools", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:list_available_automation_tools" - }, - { - "id": "tool:list_available_automation_tools->scope:repo", - "kind": "requires", - "from": "tool:list_available_automation_tools", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:list_available_automation_triggers", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:list_available_automation_triggers" - }, - { - "id": "tool:list_available_automation_triggers->scope:repo", - "kind": "requires", - "from": "tool:list_available_automation_triggers", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:run_automation", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:run_automation" - }, - { - "id": "tool:run_automation->scope:repo", - "kind": "requires", - "from": "tool:run_automation", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_automations->tool:update_automation", - "kind": "contains", - "from": "toolset:copilot_automations", - "to": "tool:update_automation" - }, - { - "id": "tool:update_automation->scope:repo", - "kind": "requires", - "from": "tool:update_automation", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", - "kind": "contains", - "from": "toolset:copilot_issue_intents", - "to": "tool:assign_copilot_to_issue_with_intent" - }, - { - "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", - "kind": "requires", - "from": "tool:assign_copilot_to_issue_with_intent", - "to": "scope:repo" - }, - { - "id": "toolset:dependabot->tool:get_dependabot_alert", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:get_dependabot_alert" - }, - { - "id": "tool:get_dependabot_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_dependabot_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:dependabot->tool:list_dependabot_alerts", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:list_dependabot_alerts" - }, - { - "id": "tool:list_dependabot_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_dependabot_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:dependabot->tool:update_dependabot_alert", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:update_dependabot_alert" - }, - { - "id": "tool:update_dependabot_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_dependabot_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:discussions->tool:discussion_comment_write", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:discussion_comment_write" - }, - { - "id": "tool:discussion_comment_write->scope:repo", - "kind": "requires", - "from": "tool:discussion_comment_write", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:get_discussion", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:get_discussion" - }, - { - "id": "tool:get_discussion->scope:repo", - "kind": "requires", - "from": "tool:get_discussion", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:get_discussion_comments", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:get_discussion_comments" - }, - { - "id": "tool:get_discussion_comments->scope:repo", - "kind": "requires", - "from": "tool:get_discussion_comments", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:list_discussion_categories", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:list_discussion_categories" - }, - { - "id": "tool:list_discussion_categories->scope:repo", - "kind": "requires", - "from": "tool:list_discussion_categories", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:list_discussions", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:list_discussions" - }, - { - "id": "tool:list_discussions->scope:repo", - "kind": "requires", - "from": "tool:list_discussions", - "to": "scope:repo" - }, - { - "id": "toolset:gists->tool:create_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:create_gist" - }, - { - "id": "tool:create_gist->scope:gist", - "kind": "requires", - "from": "tool:create_gist", - "to": "scope:gist" - }, - { - "id": "toolset:gists->tool:get_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:get_gist" - }, - { - "id": "toolset:gists->tool:list_gists", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:list_gists" - }, - { - "id": "toolset:gists->tool:update_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:update_gist" - }, - { - "id": "tool:update_gist->scope:gist", - "kind": "requires", - "from": "tool:update_gist", - "to": "scope:gist" - }, - { - "id": "toolset:git->tool:get_repository_tree", - "kind": "contains", - "from": "toolset:git", - "to": "tool:get_repository_tree" - }, - { - "id": "tool:get_repository_tree->scope:repo", - "kind": "requires", - "from": "tool:get_repository_tree", - "to": "scope:repo" - }, - { - "id": "toolset:governance->tool:create_repository_ruleset", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:create_repository_ruleset" - }, - { - "id": "tool:create_repository_ruleset->scope:repo", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:repo" - }, - { - "id": "tool:create_repository_ruleset->scope:admin:org", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:admin:org" - }, - { - "id": "tool:create_repository_ruleset->scope:admin:enterprise", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:admin:enterprise" - }, - { - "id": "toolset:governance->tool:custom_properties_read", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:custom_properties_read" - }, - { - "id": "tool:custom_properties_read->scope:repo", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:repo" - }, - { - "id": "tool:custom_properties_read->scope:read:org", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:read:org" - }, - { - "id": "tool:custom_properties_read->scope:read:enterprise", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:read:enterprise" - }, - { - "id": "toolset:governance->tool:custom_properties_write", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:custom_properties_write" - }, - { - "id": "tool:custom_properties_write->scope:repo", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:repo" - }, - { - "id": "tool:custom_properties_write->scope:admin:org", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:admin:org" - }, - { - "id": "tool:custom_properties_write->scope:admin:enterprise", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:admin:enterprise" - }, - { - "id": "toolset:governance->tool:repository_ruleset_read", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:repository_ruleset_read" - }, - { - "id": "tool:repository_ruleset_read->scope:repo", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:repo" - }, - { - "id": "tool:repository_ruleset_read->scope:read:org", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:read:org" - }, - { - "id": "tool:repository_ruleset_read->scope:read:enterprise", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:read:enterprise" - }, - { - "id": "toolset:issues->tool:add_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_comment" - }, - { - "id": "tool:add_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:add_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_issue_comment_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_comment_reaction" - }, - { - "id": "tool:add_issue_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_issue_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_issue_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_reaction" - }, - { - "id": "tool:add_issue_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_issue_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_sub_issue" - }, - { - "id": "tool:add_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:add_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:create_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:create_issue" - }, - { - "id": "tool:create_issue->scope:repo", - "kind": "requires", - "from": "tool:create_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:find_duplicate", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:find_duplicate" - }, - { - "id": "tool:find_duplicate->scope:repo", - "kind": "requires", - "from": "tool:find_duplicate", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:get_label", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:get_label" - }, - { - "id": "tool:get_label->scope:repo", - "kind": "requires", - "from": "tool:get_label", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:hide_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:hide_issue_comment" - }, - { - "id": "tool:hide_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:hide_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_artifact_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_artifact_read" - }, - { - "id": "tool:issue_artifact_read->scope:repo", - "kind": "requires", - "from": "tool:issue_artifact_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_artifact_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_artifact_write" - }, - { - "id": "tool:issue_artifact_write->scope:repo", - "kind": "requires", - "from": "tool:issue_artifact_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_dependency_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_dependency_read" - }, - { - "id": "tool:issue_dependency_read->scope:repo", - "kind": "requires", - "from": "tool:issue_dependency_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_dependency_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_dependency_write" - }, - { - "id": "tool:issue_dependency_write->scope:repo", - "kind": "requires", - "from": "tool:issue_dependency_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_read" - }, - { - "id": "tool:issue_read->scope:repo", - "kind": "requires", - "from": "tool:issue_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_write" - }, - { - "id": "tool:issue_write->scope:repo", - "kind": "requires", - "from": "tool:issue_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:list_issue_fields", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issue_fields" - }, - { - "id": "tool:list_issue_fields->scope:repo", - "kind": "requires", - "from": "tool:list_issue_fields", - "to": "scope:repo" - }, - { - "id": "tool:list_issue_fields->scope:read:org", - "kind": "requires", - "from": "tool:list_issue_fields", - "to": "scope:read:org" - }, - { - "id": "toolset:issues->tool:list_issue_types", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issue_types" - }, - { - "id": "tool:list_issue_types->scope:repo", - "kind": "requires", - "from": "tool:list_issue_types", - "to": "scope:repo" - }, - { - "id": "tool:list_issue_types->scope:read:org", - "kind": "requires", - "from": "tool:list_issue_types", - "to": "scope:read:org" - }, - { - "id": "toolset:issues->tool:list_issues", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issues" - }, - { - "id": "tool:list_issues->scope:repo", - "kind": "requires", - "from": "tool:list_issues", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_issue_comment_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_issue_comment_reaction" - }, - { - "id": "tool:remove_issue_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_issue_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_issue_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_issue_reaction" - }, - { - "id": "tool:remove_issue_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_issue_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_sub_issue" - }, - { - "id": "tool:remove_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:remove_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:reprioritize_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:reprioritize_sub_issue" - }, - { - "id": "tool:reprioritize_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:reprioritize_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:search_issues", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:search_issues" - }, - { - "id": "tool:search_issues->scope:repo", - "kind": "requires", - "from": "tool:search_issues", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:set_issue_fields", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:set_issue_fields" - }, - { - "id": "tool:set_issue_fields->scope:repo", - "kind": "requires", - "from": "tool:set_issue_fields", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:sub_issue_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:sub_issue_write" - }, - { - "id": "tool:sub_issue_write->scope:repo", - "kind": "requires", - "from": "tool:sub_issue_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:unhide_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:unhide_issue_comment" - }, - { - "id": "tool:unhide_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:unhide_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_assignees", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_assignees" - }, - { - "id": "tool:update_issue_assignees->scope:repo", - "kind": "requires", - "from": "tool:update_issue_assignees", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_body", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_body" - }, - { - "id": "tool:update_issue_body->scope:repo", - "kind": "requires", - "from": "tool:update_issue_body", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_comment" - }, - { - "id": "tool:update_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:update_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_labels", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_labels" - }, - { - "id": "tool:update_issue_labels->scope:repo", - "kind": "requires", - "from": "tool:update_issue_labels", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_milestone", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_milestone" - }, - { - "id": "tool:update_issue_milestone->scope:repo", - "kind": "requires", - "from": "tool:update_issue_milestone", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_state", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_state" - }, - { - "id": "tool:update_issue_state->scope:repo", - "kind": "requires", - "from": "tool:update_issue_state", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_title", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_title" - }, - { - "id": "tool:update_issue_title->scope:repo", - "kind": "requires", - "from": "tool:update_issue_title", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_type", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_type" - }, - { - "id": "tool:update_issue_type->scope:repo", - "kind": "requires", - "from": "tool:update_issue_type", - "to": "scope:repo" - }, - { - "id": "toolset:labels->tool:get_label", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:get_label" - }, - { - "id": "toolset:labels->tool:label_write", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:label_write" - }, - { - "id": "tool:label_write->scope:repo", - "kind": "requires", - "from": "tool:label_write", - "to": "scope:repo" - }, - { - "id": "toolset:labels->tool:list_label", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:list_label" - }, - { - "id": "tool:list_label->scope:repo", - "kind": "requires", - "from": "tool:list_label", - "to": "scope:repo" - }, - { - "id": "toolset:notifications->tool:dismiss_notification", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:dismiss_notification" - }, - { - "id": "tool:dismiss_notification->scope:notifications", - "kind": "requires", - "from": "tool:dismiss_notification", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:get_notification_details", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:get_notification_details" - }, - { - "id": "tool:get_notification_details->scope:notifications", - "kind": "requires", - "from": "tool:get_notification_details", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:list_notifications", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:list_notifications" - }, - { - "id": "tool:list_notifications->scope:notifications", - "kind": "requires", - "from": "tool:list_notifications", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:manage_notification_subscription", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:manage_notification_subscription" - }, - { - "id": "tool:manage_notification_subscription->scope:notifications", - "kind": "requires", - "from": "tool:manage_notification_subscription", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:manage_repository_notification_subscription", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:manage_repository_notification_subscription" - }, - { - "id": "tool:manage_repository_notification_subscription->scope:notifications", - "kind": "requires", - "from": "tool:manage_repository_notification_subscription", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:mark_all_notifications_read", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:mark_all_notifications_read" - }, - { - "id": "tool:mark_all_notifications_read->scope:notifications", - "kind": "requires", - "from": "tool:mark_all_notifications_read", - "to": "scope:notifications" - }, - { - "id": "toolset:orgs->tool:search_orgs", - "kind": "contains", - "from": "toolset:orgs", - "to": "tool:search_orgs" - }, - { - "id": "tool:search_orgs->scope:read:org", - "kind": "requires", - "from": "tool:search_orgs", - "to": "scope:read:org" - }, - { - "id": "toolset:projects->tool:projects_get", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_get" - }, - { - "id": "tool:projects_get->scope:read:project", - "kind": "requires", - "from": "tool:projects_get", - "to": "scope:read:project" - }, - { - "id": "toolset:projects->tool:projects_list", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_list" - }, - { - "id": "tool:projects_list->scope:read:project", - "kind": "requires", - "from": "tool:projects_list", - "to": "scope:read:project" - }, - { - "id": "toolset:projects->tool:projects_write", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_write" - }, - { - "id": "tool:projects_write->scope:project", - "kind": "requires", - "from": "tool:projects_write", - "to": "scope:project" - }, - { - "id": "toolset:pull_requests->tool:add_comment_to_pending_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_comment_to_pending_review" - }, - { - "id": "tool:add_comment_to_pending_review->scope:repo", - "kind": "requires", - "from": "tool:add_comment_to_pending_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_pull_request_review_comment" - }, - { - "id": "tool:add_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:add_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_pull_request_review_comment_reaction" - }, - { - "id": "tool:add_pull_request_review_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_pull_request_review_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_reply_to_pull_request_comment" - }, - { - "id": "tool:add_reply_to_pull_request_comment->scope:repo", - "kind": "requires", - "from": "tool:add_reply_to_pull_request_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:create_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:create_pull_request" - }, - { - "id": "tool:create_pull_request->scope:repo", - "kind": "requires", - "from": "tool:create_pull_request", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:create_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:create_pull_request_review" - }, - { - "id": "tool:create_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:create_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:delete_pending_pull_request_review" - }, - { - "id": "tool:delete_pending_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:delete_pending_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:hide_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:hide_pull_request_review" - }, - { - "id": "tool:hide_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:hide_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:hide_pull_request_review_comment" - }, - { - "id": "tool:hide_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:hide_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:list_pull_requests", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:list_pull_requests" - }, - { - "id": "tool:list_pull_requests->scope:repo", - "kind": "requires", - "from": "tool:list_pull_requests", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:merge_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:merge_pull_request" - }, - { - "id": "tool:merge_pull_request->scope:repo", - "kind": "requires", - "from": "tool:merge_pull_request", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_artifact_read", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_artifact_read" - }, - { - "id": "tool:pull_request_artifact_read->scope:repo", - "kind": "requires", - "from": "tool:pull_request_artifact_read", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_artifact_write", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_artifact_write" - }, - { - "id": "tool:pull_request_artifact_write->scope:repo", - "kind": "requires", - "from": "tool:pull_request_artifact_write", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_read", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_read" - }, - { - "id": "tool:pull_request_read->scope:repo", - "kind": "requires", - "from": "tool:pull_request_read", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_review_write", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_review_write" - }, - { - "id": "tool:pull_request_review_write->scope:repo", - "kind": "requires", - "from": "tool:pull_request_review_write", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:remove_pull_request_review_comment_reaction" - }, - { - "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_pull_request_review_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:request_pull_request_reviewers", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:request_pull_request_reviewers" - }, - { - "id": "tool:request_pull_request_reviewers->scope:repo", - "kind": "requires", - "from": "tool:request_pull_request_reviewers", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:resolve_review_thread", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:resolve_review_thread" - }, - { - "id": "tool:resolve_review_thread->scope:repo", - "kind": "requires", - "from": "tool:resolve_review_thread", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:search_pull_requests", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:search_pull_requests" - }, - { - "id": "tool:search_pull_requests->scope:repo", - "kind": "requires", - "from": "tool:search_pull_requests", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:submit_pending_pull_request_review" - }, - { - "id": "tool:submit_pending_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:submit_pending_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unhide_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unhide_pull_request_review" - }, - { - "id": "tool:unhide_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:unhide_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unhide_pull_request_review_comment" - }, - { - "id": "tool:unhide_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:unhide_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unresolve_review_thread", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unresolve_review_thread" - }, - { - "id": "tool:unresolve_review_thread->scope:repo", - "kind": "requires", - "from": "tool:unresolve_review_thread", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request" - }, - { - "id": "tool:update_pull_request->scope:repo", + "id": "tool:get_team_members->scope:read:org", "kind": "requires", - "from": "tool:update_pull_request", - "to": "scope:repo" + "from": "tool:get_team_members", + "to": "scope:read:org" }, { - "id": "toolset:pull_requests->tool:update_pull_request_body", + "id": "toolset:context->tool:get_teams", "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_body" + "from": "toolset:context", + "to": "tool:get_teams" }, { - "id": "tool:update_pull_request_body->scope:repo", + "id": "tool:get_teams->scope:read:org", "kind": "requires", - "from": "tool:update_pull_request_body", - "to": "scope:repo" + "from": "tool:get_teams", + "to": "scope:read:org" }, { - "id": "toolset:pull_requests->tool:update_pull_request_branch", + "id": "toolset:context->tool:ui_get", "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_branch" + "from": "toolset:context", + "to": "tool:ui_get" }, { - "id": "tool:update_pull_request_branch->scope:repo", + "id": "tool:ui_get->scope:repo", "kind": "requires", - "from": "tool:update_pull_request_branch", + "from": "tool:ui_get", "to": "scope:repo" }, { - "id": "toolset:pull_requests->tool:update_pull_request_draft_state", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_draft_state" - }, - { - "id": "tool:update_pull_request_draft_state->scope:repo", + "id": "tool:ui_get->scope:read:org", "kind": "requires", - "from": "tool:update_pull_request_draft_state", - "to": "scope:repo" + "from": "tool:ui_get", + "to": "scope:read:org" }, { - "id": "toolset:pull_requests->tool:update_pull_request_state", + "id": "toolset:copilot->tool:assign_copilot_to_issue", "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_state" + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" }, { - "id": "tool:update_pull_request_state->scope:repo", + "id": "tool:assign_copilot_to_issue->scope:repo", "kind": "requires", - "from": "tool:update_pull_request_state", + "from": "tool:assign_copilot_to_issue", "to": "scope:repo" }, { - "id": "toolset:pull_requests->tool:update_pull_request_title", + "id": "toolset:copilot->tool:request_copilot_review", "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_title" + "from": "toolset:copilot", + "to": "tool:request_copilot_review" }, { - "id": "tool:update_pull_request_title->scope:repo", + "id": "tool:request_copilot_review->scope:repo", "kind": "requires", - "from": "tool:update_pull_request_title", + "from": "tool:request_copilot_review", "to": "scope:repo" }, { - "id": "toolset:repos->tool:create_branch", + "id": "toolset:copilot_automations->tool:create_automation", "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_branch" + "from": "toolset:copilot_automations", + "to": "tool:create_automation" }, { - "id": "tool:create_branch->scope:repo", + "id": "tool:create_automation->scope:repo", "kind": "requires", - "from": "tool:create_branch", + "from": "tool:create_automation", "to": "scope:repo" }, { - "id": "toolset:repos->tool:create_or_update_file", + "id": "toolset:copilot_automations->tool:delete_automation", "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_or_update_file" + "from": "toolset:copilot_automations", + "to": "tool:delete_automation" }, { - "id": "tool:create_or_update_file->scope:repo", + "id": "tool:delete_automation->scope:repo", "kind": "requires", - "from": "tool:create_or_update_file", + "from": "tool:delete_automation", "to": "scope:repo" }, { - "id": "tool:create_or_update_file->scope:workflow", - "kind": "requires", - "from": "tool:create_or_update_file", - "to": "scope:workflow" - }, - { - "id": "toolset:repos->tool:create_repository", + "id": "toolset:copilot_automations->tool:get_automation", "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_repository" + "from": "toolset:copilot_automations", + "to": "tool:get_automation" }, { - "id": "tool:create_repository->scope:repo", + "id": "tool:get_automation->scope:repo", "kind": "requires", - "from": "tool:create_repository", + "from": "tool:get_automation", "to": "scope:repo" }, { - "id": "toolset:repos->tool:delete_file", + "id": "toolset:copilot_automations->tool:get_automation_revision", "kind": "contains", - "from": "toolset:repos", - "to": "tool:delete_file" + "from": "toolset:copilot_automations", + "to": "tool:get_automation_revision" }, { - "id": "tool:delete_file->scope:repo", + "id": "tool:get_automation_revision->scope:repo", "kind": "requires", - "from": "tool:delete_file", + "from": "tool:get_automation_revision", "to": "scope:repo" }, { - "id": "tool:delete_file->scope:workflow", - "kind": "requires", - "from": "tool:delete_file", - "to": "scope:workflow" - }, - { - "id": "toolset:repos->tool:delete_repository", + "id": "toolset:copilot_automations->tool:get_automations_configuration_for_repository", "kind": "contains", - "from": "toolset:repos", - "to": "tool:delete_repository" - }, - { - "id": "tool:delete_repository->scope:delete_repo", - "kind": "requires", - "from": "tool:delete_repository", - "to": "scope:delete_repo" + "from": "toolset:copilot_automations", + "to": "tool:get_automations_configuration_for_repository" }, { - "id": "tool:delete_repository->scope:repo", + "id": "tool:get_automations_configuration_for_repository->scope:repo", "kind": "requires", - "from": "tool:delete_repository", + "from": "tool:get_automations_configuration_for_repository", "to": "scope:repo" }, { - "id": "toolset:repos->tool:fork_repository", + "id": "toolset:copilot_automations->tool:list_automation_revisions", "kind": "contains", - "from": "toolset:repos", - "to": "tool:fork_repository" + "from": "toolset:copilot_automations", + "to": "tool:list_automation_revisions" }, { - "id": "tool:fork_repository->scope:repo", + "id": "tool:list_automation_revisions->scope:repo", "kind": "requires", - "from": "tool:fork_repository", + "from": "tool:list_automation_revisions", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_commit", + "id": "toolset:copilot_automations->tool:list_automations", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_commit" + "from": "toolset:copilot_automations", + "to": "tool:list_automations" }, { - "id": "tool:get_commit->scope:repo", + "id": "tool:list_automations->scope:repo", "kind": "requires", - "from": "tool:get_commit", + "from": "tool:list_automations", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_file_blame", + "id": "toolset:copilot_automations->tool:list_available_automation_tools", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_file_blame" + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_tools" }, { - "id": "tool:get_file_blame->scope:repo", + "id": "tool:list_available_automation_tools->scope:repo", "kind": "requires", - "from": "tool:get_file_blame", + "from": "tool:list_available_automation_tools", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_file_contents", + "id": "toolset:copilot_automations->tool:list_available_automation_triggers", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_file_contents" + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_triggers" }, { - "id": "tool:get_file_contents->scope:repo", + "id": "tool:list_available_automation_triggers->scope:repo", "kind": "requires", - "from": "tool:get_file_contents", + "from": "tool:list_available_automation_triggers", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_latest_release", + "id": "toolset:copilot_automations->tool:run_automation", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_latest_release" + "from": "toolset:copilot_automations", + "to": "tool:run_automation" }, { - "id": "tool:get_latest_release->scope:repo", + "id": "tool:run_automation->scope:repo", "kind": "requires", - "from": "tool:get_latest_release", + "from": "tool:run_automation", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_release_by_tag", + "id": "toolset:copilot_automations->tool:update_automation", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_release_by_tag" + "from": "toolset:copilot_automations", + "to": "tool:update_automation" }, { - "id": "tool:get_release_by_tag->scope:repo", + "id": "tool:update_automation->scope:repo", "kind": "requires", - "from": "tool:get_release_by_tag", + "from": "tool:update_automation", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_tag", + "id": "toolset:dependabot->tool:get_dependabot_alert", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_tag" + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" }, { - "id": "tool:get_tag->scope:repo", + "id": "tool:get_dependabot_alert->scope:security_events", "kind": "requires", - "from": "tool:get_tag", - "to": "scope:repo" + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_branches", + "id": "toolset:dependabot->tool:list_dependabot_alerts", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_branches" + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" }, { - "id": "tool:list_branches->scope:repo", + "id": "tool:list_dependabot_alerts->scope:security_events", "kind": "requires", - "from": "tool:list_branches", - "to": "scope:repo" + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_commits", + "id": "toolset:dependabot->tool:update_dependabot_alert", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_commits" + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" }, { - "id": "tool:list_commits->scope:repo", + "id": "tool:update_dependabot_alert->scope:security_events", "kind": "requires", - "from": "tool:list_commits", - "to": "scope:repo" + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_releases", + "id": "toolset:gists->tool:create_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_releases" + "from": "toolset:gists", + "to": "tool:create_gist" }, { - "id": "tool:list_releases->scope:repo", + "id": "tool:create_gist->scope:gist", "kind": "requires", - "from": "tool:list_releases", - "to": "scope:repo" + "from": "tool:create_gist", + "to": "scope:gist" }, { - "id": "toolset:repos->tool:list_repository_collaborators", + "id": "toolset:gists->tool:get_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_repository_collaborators" - }, - { - "id": "tool:list_repository_collaborators->scope:repo", - "kind": "requires", - "from": "tool:list_repository_collaborators", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:get_gist" }, { - "id": "toolset:repos->tool:list_tags", + "id": "toolset:gists->tool:list_gists", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_tags" - }, - { - "id": "tool:list_tags->scope:repo", - "kind": "requires", - "from": "tool:list_tags", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:list_gists" }, { - "id": "toolset:repos->tool:push_files", + "id": "toolset:gists->tool:update_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:push_files" - }, - { - "id": "tool:push_files->scope:repo", - "kind": "requires", - "from": "tool:push_files", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:update_gist" }, { - "id": "tool:push_files->scope:workflow", + "id": "tool:update_gist->scope:gist", "kind": "requires", - "from": "tool:push_files", - "to": "scope:workflow" + "from": "tool:update_gist", + "to": "scope:gist" }, { - "id": "toolset:repos->tool:search_code", + "id": "toolset:labels->tool:get_label", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_code" + "from": "toolset:labels", + "to": "tool:get_label" }, { - "id": "tool:search_code->scope:repo", + "id": "tool:get_label->scope:repo", "kind": "requires", - "from": "tool:search_code", + "from": "tool:get_label", "to": "scope:repo" }, { - "id": "toolset:repos->tool:search_commits", + "id": "toolset:labels->tool:label_write", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_commits" + "from": "toolset:labels", + "to": "tool:label_write" }, { - "id": "tool:search_commits->scope:repo", + "id": "tool:label_write->scope:repo", "kind": "requires", - "from": "tool:search_commits", + "from": "tool:label_write", "to": "scope:repo" }, { - "id": "toolset:repos->tool:search_repositories", + "id": "toolset:labels->tool:list_label", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_repositories" + "from": "toolset:labels", + "to": "tool:list_label" }, { - "id": "tool:search_repositories->scope:repo", + "id": "tool:list_label->scope:repo", "kind": "requires", - "from": "tool:search_repositories", + "from": "tool:list_label", "to": "scope:repo" }, { - "id": "toolset:secret_protection->tool:get_secret_scanning_alert", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:get_secret_scanning_alert" - }, - { - "id": "tool:get_secret_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_secret_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:list_secret_scanning_alerts" - }, - { - "id": "tool:list_secret_scanning_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_secret_scanning_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:secret_protection->tool:update_secret_scanning_alert", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:update_secret_scanning_alert" - }, - { - "id": "tool:update_secret_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_secret_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:get_global_security_advisory", - "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:get_global_security_advisory" - }, - { - "id": "tool:get_global_security_advisory->scope:security_events", - "kind": "requires", - "from": "tool:get_global_security_advisory", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:list_global_security_advisories", - "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_global_security_advisories" - }, - { - "id": "tool:list_global_security_advisories->scope:security_events", - "kind": "requires", - "from": "tool:list_global_security_advisories", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "id": "toolset:notifications->tool:dismiss_notification", "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_org_repository_security_advisories" + "from": "toolset:notifications", + "to": "tool:dismiss_notification" }, { - "id": "tool:list_org_repository_security_advisories->scope:security_events", + "id": "tool:dismiss_notification->scope:notifications", "kind": "requires", - "from": "tool:list_org_repository_security_advisories", - "to": "scope:security_events" + "from": "tool:dismiss_notification", + "to": "scope:notifications" }, { - "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "id": "toolset:notifications->tool:get_notification_details", "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_repository_security_advisories" + "from": "toolset:notifications", + "to": "tool:get_notification_details" }, { - "id": "tool:list_repository_security_advisories->scope:security_events", + "id": "tool:get_notification_details->scope:notifications", "kind": "requires", - "from": "tool:list_repository_security_advisories", - "to": "scope:security_events" + "from": "tool:get_notification_details", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:list_starred_repositories", + "id": "toolset:notifications->tool:list_notifications", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:list_starred_repositories" + "from": "toolset:notifications", + "to": "tool:list_notifications" }, { - "id": "tool:list_starred_repositories->scope:repo", + "id": "tool:list_notifications->scope:notifications", "kind": "requires", - "from": "tool:list_starred_repositories", - "to": "scope:repo" + "from": "tool:list_notifications", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:star_repository", + "id": "toolset:notifications->tool:manage_notification_subscription", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:star_repository" + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" }, { - "id": "tool:star_repository->scope:repo", + "id": "tool:manage_notification_subscription->scope:notifications", "kind": "requires", - "from": "tool:star_repository", - "to": "scope:repo" + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:unstar_repository", + "id": "toolset:notifications->tool:manage_repository_notification_subscription", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:unstar_repository" + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" }, { - "id": "tool:unstar_repository->scope:repo", + "id": "tool:manage_repository_notification_subscription->scope:notifications", "kind": "requires", - "from": "tool:unstar_repository", - "to": "scope:repo" + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" }, { - "id": "toolset:users->tool:search_users", + "id": "toolset:notifications->tool:mark_all_notifications_read", "kind": "contains", - "from": "toolset:users", - "to": "tool:search_users" + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" }, { - "id": "tool:search_users->scope:repo", + "id": "tool:mark_all_notifications_read->scope:notifications", "kind": "requires", - "from": "tool:search_users", - "to": "scope:repo" + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" } ] } diff --git a/packages/renderers/graph/fixtures/mcp-tools-before.json b/packages/renderers/graph/fixtures/mcp-tools-before.json index 508288f29..891e9cce5 100644 --- a/packages/renderers/graph/fixtures/mcp-tools-before.json +++ b/packages/renderers/graph/fixtures/mcp-tools-before.json @@ -39,27 +39,6 @@ "readOnly": true } }, - { - "id": "toolset:code_quality", - "kind": "toolset", - "label": "code_quality" - }, - { - "id": "tool:get_code_quality_finding", - "kind": "tool", - "label": "get_code_quality_finding", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_code_quality_findings", - "kind": "tool", - "label": "list_code_quality_findings", - "data": { - "readOnly": true - } - }, { "id": "toolset:code_security", "kind": "toolset", @@ -147,19 +126,6 @@ "readOnly": false } }, - { - "id": "toolset:copilot_issue_intents", - "kind": "toolset", - "label": "copilot_issue_intents" - }, - { - "id": "tool:assign_copilot_to_issue_with_intent", - "kind": "tool", - "label": "assign_copilot_to_issue_with_intent", - "data": { - "readOnly": false - } - }, { "id": "toolset:dependabot", "kind": "toolset", @@ -189,51 +155,6 @@ "readOnly": false } }, - { - "id": "toolset:discussions", - "kind": "toolset", - "label": "discussions" - }, - { - "id": "tool:discussion_comment_write", - "kind": "tool", - "label": "discussion_comment_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_discussion", - "kind": "tool", - "label": "get_discussion", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_discussion_comments", - "kind": "tool", - "label": "get_discussion_comments", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_discussion_categories", - "kind": "tool", - "label": "list_discussion_categories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_discussions", - "kind": "tool", - "label": "list_discussions", - "data": { - "readOnly": true - } - }, { "id": "toolset:gists", "kind": "toolset", @@ -272,2765 +193,449 @@ } }, { - "id": "toolset:git", + "id": "toolset:labels", "kind": "toolset", - "label": "git" + "label": "labels" }, { - "id": "tool:get_repository_tree", + "id": "tool:get_label", "kind": "tool", - "label": "get_repository_tree", + "label": "get_label", "data": { "readOnly": true } }, { - "id": "toolset:governance", - "kind": "toolset", - "label": "governance" - }, - { - "id": "tool:create_repository_ruleset", + "id": "tool:label_write", "kind": "tool", - "label": "create_repository_ruleset", + "label": "label_write", "data": { "readOnly": false } }, { - "id": "tool:custom_properties_read", + "id": "tool:list_label", "kind": "tool", - "label": "custom_properties_read", + "label": "list_label", "data": { "readOnly": true } }, { - "id": "tool:custom_properties_write", + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", "kind": "tool", - "label": "custom_properties_write", + "label": "dismiss_notification", "data": { "readOnly": false } }, { - "id": "tool:repository_ruleset_read", + "id": "tool:get_notification_details", "kind": "tool", - "label": "repository_ruleset_read", + "label": "get_notification_details", "data": { "readOnly": true } }, { - "id": "toolset:issues", - "kind": "toolset", - "label": "issues" - }, - { - "id": "tool:add_issue_comment", + "id": "tool:list_notifications", "kind": "tool", - "label": "add_issue_comment", + "label": "list_notifications", "data": { - "readOnly": false + "readOnly": true } }, { - "id": "tool:add_issue_comment_reaction", + "id": "tool:manage_notification_subscription", "kind": "tool", - "label": "add_issue_comment_reaction", + "label": "manage_notification_subscription", "data": { "readOnly": false } }, { - "id": "tool:add_issue_reaction", + "id": "tool:manage_repository_notification_subscription", "kind": "tool", - "label": "add_issue_reaction", + "label": "manage_repository_notification_subscription", "data": { "readOnly": false } }, { - "id": "tool:add_sub_issue", + "id": "tool:mark_all_notifications_read", "kind": "tool", - "label": "add_sub_issue", + "label": "mark_all_notifications_read", "data": { "readOnly": false } }, { - "id": "tool:create_issue", - "kind": "tool", - "label": "create_issue", - "data": { - "readOnly": false - } + "id": "scope:gist", + "kind": "scope", + "label": "gist" }, { - "id": "tool:find_duplicate", - "kind": "tool", - "label": "find_duplicate", - "data": { - "readOnly": true - } + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" }, { - "id": "tool:get_label", - "kind": "tool", - "label": "get_label", - "data": { - "readOnly": true - } + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" }, { - "id": "tool:hide_issue_comment", - "kind": "tool", - "label": "hide_issue_comment", - "data": { - "readOnly": false - } + "id": "scope:repo", + "kind": "scope", + "label": "repo" }, { - "id": "tool:issue_artifact_read", - "kind": "tool", - "label": "issue_artifact_read", - "data": { - "readOnly": true - } + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" }, { - "id": "tool:issue_artifact_write", - "kind": "tool", - "label": "issue_artifact_write", - "data": { - "readOnly": false - } + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" }, { - "id": "tool:issue_dependency_read", - "kind": "tool", - "label": "issue_dependency_read", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" }, { - "id": "tool:issue_dependency_write", - "kind": "tool", - "label": "issue_dependency_write", - "data": { - "readOnly": false - } + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" }, { - "id": "tool:issue_read", - "kind": "tool", - "label": "issue_read", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" }, { - "id": "tool:issue_write", - "kind": "tool", - "label": "issue_write", - "data": { - "readOnly": false - } + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" }, { - "id": "tool:list_issue_fields", - "kind": "tool", - "label": "list_issue_fields", - "data": { - "readOnly": true - } + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" }, { - "id": "tool:list_issue_types", - "kind": "tool", - "label": "list_issue_types", - "data": { - "readOnly": true - } + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" }, { - "id": "tool:list_issues", - "kind": "tool", - "label": "list_issues", - "data": { - "readOnly": true - } + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" }, { - "id": "tool:remove_issue_comment_reaction", - "kind": "tool", - "label": "remove_issue_comment_reaction", - "data": { - "readOnly": false - } + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" }, { - "id": "tool:remove_issue_reaction", - "kind": "tool", - "label": "remove_issue_reaction", - "data": { - "readOnly": false - } + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" }, { - "id": "tool:remove_sub_issue", - "kind": "tool", - "label": "remove_sub_issue", - "data": { - "readOnly": false - } + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" }, { - "id": "tool:reprioritize_sub_issue", - "kind": "tool", - "label": "reprioritize_sub_issue", - "data": { - "readOnly": false - } + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" }, { - "id": "tool:search_issues", - "kind": "tool", - "label": "search_issues", - "data": { - "readOnly": true - } + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" }, { - "id": "tool:set_issue_fields", - "kind": "tool", - "label": "set_issue_fields", - "data": { - "readOnly": false - } + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" }, { - "id": "tool:sub_issue_write", - "kind": "tool", - "label": "sub_issue_write", - "data": { - "readOnly": false - } + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" }, { - "id": "tool:unhide_issue_comment", - "kind": "tool", - "label": "unhide_issue_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_assignees", - "kind": "tool", - "label": "update_issue_assignees", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_body", - "kind": "tool", - "label": "update_issue_body", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_comment", - "kind": "tool", - "label": "update_issue_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_labels", - "kind": "tool", - "label": "update_issue_labels", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_milestone", - "kind": "tool", - "label": "update_issue_milestone", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_state", - "kind": "tool", - "label": "update_issue_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_title", - "kind": "tool", - "label": "update_issue_title", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_issue_type", - "kind": "tool", - "label": "update_issue_type", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:labels", - "kind": "toolset", - "label": "labels" - }, - { - "id": "tool:label_write", - "kind": "tool", - "label": "label_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:list_label", - "kind": "tool", - "label": "list_label", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:notifications", - "kind": "toolset", - "label": "notifications" - }, - { - "id": "tool:dismiss_notification", - "kind": "tool", - "label": "dismiss_notification", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_notification_details", - "kind": "tool", - "label": "get_notification_details", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_notifications", - "kind": "tool", - "label": "list_notifications", - "data": { - "readOnly": true - } - }, - { - "id": "tool:manage_notification_subscription", - "kind": "tool", - "label": "manage_notification_subscription", - "data": { - "readOnly": false - } - }, - { - "id": "tool:manage_repository_notification_subscription", - "kind": "tool", - "label": "manage_repository_notification_subscription", - "data": { - "readOnly": false - } - }, - { - "id": "tool:mark_all_notifications_read", - "kind": "tool", - "label": "mark_all_notifications_read", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:orgs", - "kind": "toolset", - "label": "orgs" - }, - { - "id": "tool:search_orgs", - "kind": "tool", - "label": "search_orgs", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:projects", - "kind": "toolset", - "label": "projects" - }, - { - "id": "tool:projects_get", - "kind": "tool", - "label": "projects_get", - "data": { - "readOnly": true - } - }, - { - "id": "tool:projects_list", - "kind": "tool", - "label": "projects_list", - "data": { - "readOnly": true - } - }, - { - "id": "tool:projects_write", - "kind": "tool", - "label": "projects_write", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:pull_requests", - "kind": "toolset", - "label": "pull_requests" - }, - { - "id": "tool:add_comment_to_pending_review", - "kind": "tool", - "label": "add_comment_to_pending_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_pull_request_review_comment", - "kind": "tool", - "label": "add_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_pull_request_review_comment_reaction", - "kind": "tool", - "label": "add_pull_request_review_comment_reaction", - "data": { - "readOnly": false - } - }, - { - "id": "tool:add_reply_to_pull_request_comment", - "kind": "tool", - "label": "add_reply_to_pull_request_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_pull_request", - "kind": "tool", - "label": "create_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_pull_request_review", - "kind": "tool", - "label": "create_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_pending_pull_request_review", - "kind": "tool", - "label": "delete_pending_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:hide_pull_request_review", - "kind": "tool", - "label": "hide_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:hide_pull_request_review_comment", - "kind": "tool", - "label": "hide_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:list_pull_requests", - "kind": "tool", - "label": "list_pull_requests", - "data": { - "readOnly": true - } - }, - { - "id": "tool:merge_pull_request", - "kind": "tool", - "label": "merge_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:pull_request_artifact_read", - "kind": "tool", - "label": "pull_request_artifact_read", - "data": { - "readOnly": true - } - }, - { - "id": "tool:pull_request_artifact_write", - "kind": "tool", - "label": "pull_request_artifact_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:pull_request_read", - "kind": "tool", - "label": "pull_request_read", - "data": { - "readOnly": true - } - }, - { - "id": "tool:pull_request_review_write", - "kind": "tool", - "label": "pull_request_review_write", - "data": { - "readOnly": false - } - }, - { - "id": "tool:remove_pull_request_review_comment_reaction", - "kind": "tool", - "label": "remove_pull_request_review_comment_reaction", - "data": { - "readOnly": false - } - }, - { - "id": "tool:request_pull_request_reviewers", - "kind": "tool", - "label": "request_pull_request_reviewers", - "data": { - "readOnly": false - } - }, - { - "id": "tool:resolve_review_thread", - "kind": "tool", - "label": "resolve_review_thread", - "data": { - "readOnly": false - } - }, - { - "id": "tool:search_pull_requests", - "kind": "tool", - "label": "search_pull_requests", - "data": { - "readOnly": true - } - }, - { - "id": "tool:submit_pending_pull_request_review", - "kind": "tool", - "label": "submit_pending_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unhide_pull_request_review", - "kind": "tool", - "label": "unhide_pull_request_review", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unhide_pull_request_review_comment", - "kind": "tool", - "label": "unhide_pull_request_review_comment", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unresolve_review_thread", - "kind": "tool", - "label": "unresolve_review_thread", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request", - "kind": "tool", - "label": "update_pull_request", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_body", - "kind": "tool", - "label": "update_pull_request_body", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_branch", - "kind": "tool", - "label": "update_pull_request_branch", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_draft_state", - "kind": "tool", - "label": "update_pull_request_draft_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_state", - "kind": "tool", - "label": "update_pull_request_state", - "data": { - "readOnly": false - } - }, - { - "id": "tool:update_pull_request_title", - "kind": "tool", - "label": "update_pull_request_title", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:repos", - "kind": "toolset", - "label": "repos" - }, - { - "id": "tool:create_branch", - "kind": "tool", - "label": "create_branch", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_or_update_file", - "kind": "tool", - "label": "create_or_update_file", - "data": { - "readOnly": false - } - }, - { - "id": "tool:create_repository", - "kind": "tool", - "label": "create_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_file", - "kind": "tool", - "label": "delete_file", - "data": { - "readOnly": false - } - }, - { - "id": "tool:delete_repository", - "kind": "tool", - "label": "delete_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:fork_repository", - "kind": "tool", - "label": "fork_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:get_commit", - "kind": "tool", - "label": "get_commit", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_file_blame", - "kind": "tool", - "label": "get_file_blame", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_file_contents", - "kind": "tool", - "label": "get_file_contents", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_latest_release", - "kind": "tool", - "label": "get_latest_release", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_release_by_tag", - "kind": "tool", - "label": "get_release_by_tag", - "data": { - "readOnly": true - } - }, - { - "id": "tool:get_tag", - "kind": "tool", - "label": "get_tag", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_branches", - "kind": "tool", - "label": "list_branches", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_commits", - "kind": "tool", - "label": "list_commits", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_releases", - "kind": "tool", - "label": "list_releases", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_repository_collaborators", - "kind": "tool", - "label": "list_repository_collaborators", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_tags", - "kind": "tool", - "label": "list_tags", - "data": { - "readOnly": true - } - }, - { - "id": "tool:push_files", - "kind": "tool", - "label": "push_files", - "data": { - "readOnly": false - } - }, - { - "id": "tool:search_code", - "kind": "tool", - "label": "search_code", - "data": { - "readOnly": true - } - }, - { - "id": "tool:search_commits", - "kind": "tool", - "label": "search_commits", - "data": { - "readOnly": true - } - }, - { - "id": "tool:search_repositories", - "kind": "tool", - "label": "search_repositories", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:secret_protection", - "kind": "toolset", - "label": "secret_protection" - }, - { - "id": "tool:get_secret_scanning_alert", - "kind": "tool", - "label": "get_secret_scanning_alert", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_secret_scanning_alerts", - "kind": "tool", - "label": "list_secret_scanning_alerts", - "data": { - "readOnly": true - } - }, - { - "id": "tool:update_secret_scanning_alert", - "kind": "tool", - "label": "update_secret_scanning_alert", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:security_advisories", - "kind": "toolset", - "label": "security_advisories" - }, - { - "id": "tool:get_global_security_advisory", - "kind": "tool", - "label": "get_global_security_advisory", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_global_security_advisories", - "kind": "tool", - "label": "list_global_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_org_repository_security_advisories", - "kind": "tool", - "label": "list_org_repository_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:list_repository_security_advisories", - "kind": "tool", - "label": "list_repository_security_advisories", - "data": { - "readOnly": true - } - }, - { - "id": "toolset:stargazers", - "kind": "toolset", - "label": "stargazers" - }, - { - "id": "tool:list_starred_repositories", - "kind": "tool", - "label": "list_starred_repositories", - "data": { - "readOnly": true - } - }, - { - "id": "tool:star_repository", - "kind": "tool", - "label": "star_repository", - "data": { - "readOnly": false - } - }, - { - "id": "tool:unstar_repository", - "kind": "tool", - "label": "unstar_repository", - "data": { - "readOnly": false - } - }, - { - "id": "toolset:users", - "kind": "toolset", - "label": "users" - }, - { - "id": "tool:search_users", - "kind": "tool", - "label": "search_users", - "data": { - "readOnly": true - } - }, - { - "id": "scope:admin:enterprise", - "kind": "scope", - "label": "admin:enterprise" - }, - { - "id": "scope:admin:org", - "kind": "scope", - "label": "admin:org" - }, - { - "id": "scope:delete_repo", - "kind": "scope", - "label": "delete_repo" - }, - { - "id": "scope:gist", - "kind": "scope", - "label": "gist" - }, - { - "id": "scope:notifications", - "kind": "scope", - "label": "notifications" - }, - { - "id": "scope:project", - "kind": "scope", - "label": "project" - }, - { - "id": "scope:read:enterprise", - "kind": "scope", - "label": "read:enterprise" - }, - { - "id": "scope:read:org", - "kind": "scope", - "label": "read:org" - }, - { - "id": "scope:read:project", - "kind": "scope", - "label": "read:project" - }, - { - "id": "scope:repo", - "kind": "scope", - "label": "repo" - }, - { - "id": "scope:security_events", - "kind": "scope", - "label": "security_events" - }, - { - "id": "scope:workflow", - "kind": "scope", - "label": "workflow" - } - ], - "relationships": [ - { - "id": "toolset:actions->tool:actions_get", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_get" - }, - { - "id": "tool:actions_get->scope:repo", - "kind": "requires", - "from": "tool:actions_get", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:actions_list", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_list" - }, - { - "id": "tool:actions_list->scope:repo", - "kind": "requires", - "from": "tool:actions_list", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:actions_run_trigger", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:actions_run_trigger" - }, - { - "id": "tool:actions_run_trigger->scope:repo", - "kind": "requires", - "from": "tool:actions_run_trigger", - "to": "scope:repo" - }, - { - "id": "toolset:actions->tool:get_job_logs", - "kind": "contains", - "from": "toolset:actions", - "to": "tool:get_job_logs" - }, - { - "id": "tool:get_job_logs->scope:repo", - "kind": "requires", - "from": "tool:get_job_logs", - "to": "scope:repo" - }, - { - "id": "toolset:code_quality->tool:get_code_quality_finding", - "kind": "contains", - "from": "toolset:code_quality", - "to": "tool:get_code_quality_finding" - }, - { - "id": "tool:get_code_quality_finding->scope:repo", - "kind": "requires", - "from": "tool:get_code_quality_finding", - "to": "scope:repo" - }, - { - "id": "toolset:code_quality->tool:list_code_quality_findings", - "kind": "contains", - "from": "toolset:code_quality", - "to": "tool:list_code_quality_findings" - }, - { - "id": "tool:list_code_quality_findings->scope:repo", - "kind": "requires", - "from": "tool:list_code_quality_findings", - "to": "scope:repo" - }, - { - "id": "toolset:code_security->tool:get_code_scanning_alert", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:get_code_scanning_alert" - }, - { - "id": "tool:get_code_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_code_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:code_security->tool:list_code_scanning_alerts", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:list_code_scanning_alerts" - }, - { - "id": "tool:list_code_scanning_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_code_scanning_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:code_security->tool:update_code_scanning_alert", - "kind": "contains", - "from": "toolset:code_security", - "to": "tool:update_code_scanning_alert" - }, - { - "id": "tool:update_code_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_code_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:context->tool:get_me", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_me" - }, - { - "id": "toolset:context->tool:get_team_members", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_team_members" - }, - { - "id": "tool:get_team_members->scope:read:org", - "kind": "requires", - "from": "tool:get_team_members", - "to": "scope:read:org" - }, - { - "id": "toolset:context->tool:get_teams", - "kind": "contains", - "from": "toolset:context", - "to": "tool:get_teams" - }, - { - "id": "tool:get_teams->scope:read:org", - "kind": "requires", - "from": "tool:get_teams", - "to": "scope:read:org" - }, - { - "id": "toolset:context->tool:ui_get", - "kind": "contains", - "from": "toolset:context", - "to": "tool:ui_get" - }, - { - "id": "tool:ui_get->scope:repo", - "kind": "requires", - "from": "tool:ui_get", - "to": "scope:repo" - }, - { - "id": "tool:ui_get->scope:read:org", - "kind": "requires", - "from": "tool:ui_get", - "to": "scope:read:org" - }, - { - "id": "toolset:copilot->tool:assign_copilot_to_issue", - "kind": "contains", - "from": "toolset:copilot", - "to": "tool:assign_copilot_to_issue" - }, - { - "id": "tool:assign_copilot_to_issue->scope:repo", - "kind": "requires", - "from": "tool:assign_copilot_to_issue", - "to": "scope:repo" - }, - { - "id": "toolset:copilot->tool:request_copilot_review", - "kind": "contains", - "from": "toolset:copilot", - "to": "tool:request_copilot_review" - }, - { - "id": "tool:request_copilot_review->scope:repo", - "kind": "requires", - "from": "tool:request_copilot_review", - "to": "scope:repo" - }, - { - "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", - "kind": "contains", - "from": "toolset:copilot_issue_intents", - "to": "tool:assign_copilot_to_issue_with_intent" - }, - { - "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", - "kind": "requires", - "from": "tool:assign_copilot_to_issue_with_intent", - "to": "scope:repo" - }, - { - "id": "toolset:dependabot->tool:get_dependabot_alert", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:get_dependabot_alert" - }, - { - "id": "tool:get_dependabot_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_dependabot_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:dependabot->tool:list_dependabot_alerts", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:list_dependabot_alerts" - }, - { - "id": "tool:list_dependabot_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_dependabot_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:dependabot->tool:update_dependabot_alert", - "kind": "contains", - "from": "toolset:dependabot", - "to": "tool:update_dependabot_alert" - }, - { - "id": "tool:update_dependabot_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_dependabot_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:discussions->tool:discussion_comment_write", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:discussion_comment_write" - }, - { - "id": "tool:discussion_comment_write->scope:repo", - "kind": "requires", - "from": "tool:discussion_comment_write", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:get_discussion", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:get_discussion" - }, - { - "id": "tool:get_discussion->scope:repo", - "kind": "requires", - "from": "tool:get_discussion", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:get_discussion_comments", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:get_discussion_comments" - }, - { - "id": "tool:get_discussion_comments->scope:repo", - "kind": "requires", - "from": "tool:get_discussion_comments", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:list_discussion_categories", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:list_discussion_categories" - }, - { - "id": "tool:list_discussion_categories->scope:repo", - "kind": "requires", - "from": "tool:list_discussion_categories", - "to": "scope:repo" - }, - { - "id": "toolset:discussions->tool:list_discussions", - "kind": "contains", - "from": "toolset:discussions", - "to": "tool:list_discussions" - }, - { - "id": "tool:list_discussions->scope:repo", - "kind": "requires", - "from": "tool:list_discussions", - "to": "scope:repo" - }, - { - "id": "toolset:gists->tool:create_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:create_gist" - }, - { - "id": "tool:create_gist->scope:gist", - "kind": "requires", - "from": "tool:create_gist", - "to": "scope:gist" - }, - { - "id": "toolset:gists->tool:get_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:get_gist" - }, - { - "id": "toolset:gists->tool:list_gists", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:list_gists" - }, - { - "id": "toolset:gists->tool:update_gist", - "kind": "contains", - "from": "toolset:gists", - "to": "tool:update_gist" - }, - { - "id": "tool:update_gist->scope:gist", - "kind": "requires", - "from": "tool:update_gist", - "to": "scope:gist" - }, - { - "id": "toolset:git->tool:get_repository_tree", - "kind": "contains", - "from": "toolset:git", - "to": "tool:get_repository_tree" - }, - { - "id": "tool:get_repository_tree->scope:repo", - "kind": "requires", - "from": "tool:get_repository_tree", - "to": "scope:repo" - }, - { - "id": "toolset:governance->tool:create_repository_ruleset", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:create_repository_ruleset" - }, - { - "id": "tool:create_repository_ruleset->scope:repo", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:repo" - }, - { - "id": "tool:create_repository_ruleset->scope:admin:org", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:admin:org" - }, - { - "id": "tool:create_repository_ruleset->scope:admin:enterprise", - "kind": "requires", - "from": "tool:create_repository_ruleset", - "to": "scope:admin:enterprise" - }, - { - "id": "toolset:governance->tool:custom_properties_read", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:custom_properties_read" - }, - { - "id": "tool:custom_properties_read->scope:repo", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:repo" - }, - { - "id": "tool:custom_properties_read->scope:read:org", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:read:org" - }, - { - "id": "tool:custom_properties_read->scope:read:enterprise", - "kind": "requires", - "from": "tool:custom_properties_read", - "to": "scope:read:enterprise" - }, - { - "id": "toolset:governance->tool:custom_properties_write", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:custom_properties_write" - }, - { - "id": "tool:custom_properties_write->scope:repo", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:repo" - }, - { - "id": "tool:custom_properties_write->scope:admin:org", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:admin:org" - }, - { - "id": "tool:custom_properties_write->scope:admin:enterprise", - "kind": "requires", - "from": "tool:custom_properties_write", - "to": "scope:admin:enterprise" - }, - { - "id": "toolset:governance->tool:repository_ruleset_read", - "kind": "contains", - "from": "toolset:governance", - "to": "tool:repository_ruleset_read" - }, - { - "id": "tool:repository_ruleset_read->scope:repo", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:repo" - }, - { - "id": "tool:repository_ruleset_read->scope:read:org", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:read:org" - }, - { - "id": "tool:repository_ruleset_read->scope:read:enterprise", - "kind": "requires", - "from": "tool:repository_ruleset_read", - "to": "scope:read:enterprise" - }, - { - "id": "toolset:issues->tool:add_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_comment" - }, - { - "id": "tool:add_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:add_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_issue_comment_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_comment_reaction" - }, - { - "id": "tool:add_issue_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_issue_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_issue_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_issue_reaction" - }, - { - "id": "tool:add_issue_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_issue_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:add_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:add_sub_issue" - }, - { - "id": "tool:add_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:add_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:create_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:create_issue" - }, - { - "id": "tool:create_issue->scope:repo", - "kind": "requires", - "from": "tool:create_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:find_duplicate", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:find_duplicate" - }, - { - "id": "tool:find_duplicate->scope:repo", - "kind": "requires", - "from": "tool:find_duplicate", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:get_label", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:get_label" - }, - { - "id": "tool:get_label->scope:repo", - "kind": "requires", - "from": "tool:get_label", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:hide_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:hide_issue_comment" - }, - { - "id": "tool:hide_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:hide_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_artifact_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_artifact_read" - }, - { - "id": "tool:issue_artifact_read->scope:repo", - "kind": "requires", - "from": "tool:issue_artifact_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_artifact_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_artifact_write" - }, - { - "id": "tool:issue_artifact_write->scope:repo", - "kind": "requires", - "from": "tool:issue_artifact_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_dependency_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_dependency_read" - }, - { - "id": "tool:issue_dependency_read->scope:repo", - "kind": "requires", - "from": "tool:issue_dependency_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_dependency_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_dependency_write" - }, - { - "id": "tool:issue_dependency_write->scope:repo", - "kind": "requires", - "from": "tool:issue_dependency_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_read", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_read" - }, - { - "id": "tool:issue_read->scope:repo", - "kind": "requires", - "from": "tool:issue_read", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:issue_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:issue_write" - }, - { - "id": "tool:issue_write->scope:repo", - "kind": "requires", - "from": "tool:issue_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:list_issue_fields", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issue_fields" - }, - { - "id": "tool:list_issue_fields->scope:repo", - "kind": "requires", - "from": "tool:list_issue_fields", - "to": "scope:repo" - }, - { - "id": "tool:list_issue_fields->scope:read:org", - "kind": "requires", - "from": "tool:list_issue_fields", - "to": "scope:read:org" - }, - { - "id": "toolset:issues->tool:list_issue_types", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issue_types" - }, - { - "id": "tool:list_issue_types->scope:repo", - "kind": "requires", - "from": "tool:list_issue_types", - "to": "scope:repo" - }, - { - "id": "tool:list_issue_types->scope:read:org", - "kind": "requires", - "from": "tool:list_issue_types", - "to": "scope:read:org" - }, - { - "id": "toolset:issues->tool:list_issues", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:list_issues" - }, - { - "id": "tool:list_issues->scope:repo", - "kind": "requires", - "from": "tool:list_issues", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_issue_comment_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_issue_comment_reaction" - }, - { - "id": "tool:remove_issue_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_issue_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_issue_reaction", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_issue_reaction" - }, - { - "id": "tool:remove_issue_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_issue_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:remove_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:remove_sub_issue" - }, - { - "id": "tool:remove_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:remove_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:reprioritize_sub_issue", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:reprioritize_sub_issue" - }, - { - "id": "tool:reprioritize_sub_issue->scope:repo", - "kind": "requires", - "from": "tool:reprioritize_sub_issue", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:search_issues", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:search_issues" - }, - { - "id": "tool:search_issues->scope:repo", - "kind": "requires", - "from": "tool:search_issues", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:set_issue_fields", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:set_issue_fields" - }, - { - "id": "tool:set_issue_fields->scope:repo", - "kind": "requires", - "from": "tool:set_issue_fields", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:sub_issue_write", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:sub_issue_write" - }, - { - "id": "tool:sub_issue_write->scope:repo", - "kind": "requires", - "from": "tool:sub_issue_write", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:unhide_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:unhide_issue_comment" - }, - { - "id": "tool:unhide_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:unhide_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_assignees", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_assignees" - }, - { - "id": "tool:update_issue_assignees->scope:repo", - "kind": "requires", - "from": "tool:update_issue_assignees", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_body", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_body" - }, - { - "id": "tool:update_issue_body->scope:repo", - "kind": "requires", - "from": "tool:update_issue_body", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_comment", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_comment" - }, - { - "id": "tool:update_issue_comment->scope:repo", - "kind": "requires", - "from": "tool:update_issue_comment", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_labels", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_labels" - }, - { - "id": "tool:update_issue_labels->scope:repo", - "kind": "requires", - "from": "tool:update_issue_labels", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_milestone", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_milestone" - }, - { - "id": "tool:update_issue_milestone->scope:repo", - "kind": "requires", - "from": "tool:update_issue_milestone", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_state", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_state" - }, - { - "id": "tool:update_issue_state->scope:repo", - "kind": "requires", - "from": "tool:update_issue_state", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_title", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_title" - }, - { - "id": "tool:update_issue_title->scope:repo", - "kind": "requires", - "from": "tool:update_issue_title", - "to": "scope:repo" - }, - { - "id": "toolset:issues->tool:update_issue_type", - "kind": "contains", - "from": "toolset:issues", - "to": "tool:update_issue_type" - }, - { - "id": "tool:update_issue_type->scope:repo", - "kind": "requires", - "from": "tool:update_issue_type", - "to": "scope:repo" - }, - { - "id": "toolset:labels->tool:get_label", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:get_label" - }, - { - "id": "toolset:labels->tool:label_write", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:label_write" - }, - { - "id": "tool:label_write->scope:repo", - "kind": "requires", - "from": "tool:label_write", - "to": "scope:repo" - }, - { - "id": "toolset:labels->tool:list_label", - "kind": "contains", - "from": "toolset:labels", - "to": "tool:list_label" - }, - { - "id": "tool:list_label->scope:repo", - "kind": "requires", - "from": "tool:list_label", - "to": "scope:repo" - }, - { - "id": "toolset:notifications->tool:dismiss_notification", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:dismiss_notification" - }, - { - "id": "tool:dismiss_notification->scope:notifications", - "kind": "requires", - "from": "tool:dismiss_notification", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:get_notification_details", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:get_notification_details" - }, - { - "id": "tool:get_notification_details->scope:notifications", - "kind": "requires", - "from": "tool:get_notification_details", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:list_notifications", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:list_notifications" - }, - { - "id": "tool:list_notifications->scope:notifications", - "kind": "requires", - "from": "tool:list_notifications", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:manage_notification_subscription", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:manage_notification_subscription" - }, - { - "id": "tool:manage_notification_subscription->scope:notifications", - "kind": "requires", - "from": "tool:manage_notification_subscription", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:manage_repository_notification_subscription", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:manage_repository_notification_subscription" - }, - { - "id": "tool:manage_repository_notification_subscription->scope:notifications", - "kind": "requires", - "from": "tool:manage_repository_notification_subscription", - "to": "scope:notifications" - }, - { - "id": "toolset:notifications->tool:mark_all_notifications_read", - "kind": "contains", - "from": "toolset:notifications", - "to": "tool:mark_all_notifications_read" - }, - { - "id": "tool:mark_all_notifications_read->scope:notifications", - "kind": "requires", - "from": "tool:mark_all_notifications_read", - "to": "scope:notifications" - }, - { - "id": "toolset:orgs->tool:search_orgs", - "kind": "contains", - "from": "toolset:orgs", - "to": "tool:search_orgs" - }, - { - "id": "tool:search_orgs->scope:read:org", - "kind": "requires", - "from": "tool:search_orgs", - "to": "scope:read:org" - }, - { - "id": "toolset:projects->tool:projects_get", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_get" - }, - { - "id": "tool:projects_get->scope:read:project", - "kind": "requires", - "from": "tool:projects_get", - "to": "scope:read:project" - }, - { - "id": "toolset:projects->tool:projects_list", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_list" - }, - { - "id": "tool:projects_list->scope:read:project", - "kind": "requires", - "from": "tool:projects_list", - "to": "scope:read:project" - }, - { - "id": "toolset:projects->tool:projects_write", - "kind": "contains", - "from": "toolset:projects", - "to": "tool:projects_write" - }, - { - "id": "tool:projects_write->scope:project", - "kind": "requires", - "from": "tool:projects_write", - "to": "scope:project" - }, - { - "id": "toolset:pull_requests->tool:add_comment_to_pending_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_comment_to_pending_review" - }, - { - "id": "tool:add_comment_to_pending_review->scope:repo", - "kind": "requires", - "from": "tool:add_comment_to_pending_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_pull_request_review_comment" - }, - { - "id": "tool:add_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:add_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_pull_request_review_comment_reaction" - }, - { - "id": "tool:add_pull_request_review_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:add_pull_request_review_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:add_reply_to_pull_request_comment" - }, - { - "id": "tool:add_reply_to_pull_request_comment->scope:repo", - "kind": "requires", - "from": "tool:add_reply_to_pull_request_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:create_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:create_pull_request" - }, - { - "id": "tool:create_pull_request->scope:repo", - "kind": "requires", - "from": "tool:create_pull_request", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:create_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:create_pull_request_review" - }, - { - "id": "tool:create_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:create_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:delete_pending_pull_request_review" - }, - { - "id": "tool:delete_pending_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:delete_pending_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:hide_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:hide_pull_request_review" - }, - { - "id": "tool:hide_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:hide_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:hide_pull_request_review_comment" - }, - { - "id": "tool:hide_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:hide_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:list_pull_requests", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:list_pull_requests" - }, - { - "id": "tool:list_pull_requests->scope:repo", - "kind": "requires", - "from": "tool:list_pull_requests", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:merge_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:merge_pull_request" - }, - { - "id": "tool:merge_pull_request->scope:repo", - "kind": "requires", - "from": "tool:merge_pull_request", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_artifact_read", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_artifact_read" - }, - { - "id": "tool:pull_request_artifact_read->scope:repo", - "kind": "requires", - "from": "tool:pull_request_artifact_read", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_artifact_write", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_artifact_write" - }, - { - "id": "tool:pull_request_artifact_write->scope:repo", - "kind": "requires", - "from": "tool:pull_request_artifact_write", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_read", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_read" - }, - { - "id": "tool:pull_request_read->scope:repo", - "kind": "requires", - "from": "tool:pull_request_read", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:pull_request_review_write", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:pull_request_review_write" - }, - { - "id": "tool:pull_request_review_write->scope:repo", - "kind": "requires", - "from": "tool:pull_request_review_write", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:remove_pull_request_review_comment_reaction" - }, - { - "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", - "kind": "requires", - "from": "tool:remove_pull_request_review_comment_reaction", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:request_pull_request_reviewers", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:request_pull_request_reviewers" - }, - { - "id": "tool:request_pull_request_reviewers->scope:repo", - "kind": "requires", - "from": "tool:request_pull_request_reviewers", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:resolve_review_thread", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:resolve_review_thread" - }, - { - "id": "tool:resolve_review_thread->scope:repo", - "kind": "requires", - "from": "tool:resolve_review_thread", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:search_pull_requests", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:search_pull_requests" - }, - { - "id": "tool:search_pull_requests->scope:repo", - "kind": "requires", - "from": "tool:search_pull_requests", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:submit_pending_pull_request_review" - }, - { - "id": "tool:submit_pending_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:submit_pending_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unhide_pull_request_review", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unhide_pull_request_review" - }, - { - "id": "tool:unhide_pull_request_review->scope:repo", - "kind": "requires", - "from": "tool:unhide_pull_request_review", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unhide_pull_request_review_comment" - }, - { - "id": "tool:unhide_pull_request_review_comment->scope:repo", - "kind": "requires", - "from": "tool:unhide_pull_request_review_comment", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:unresolve_review_thread", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:unresolve_review_thread" - }, - { - "id": "tool:unresolve_review_thread->scope:repo", - "kind": "requires", - "from": "tool:unresolve_review_thread", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request" - }, - { - "id": "tool:update_pull_request->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request_body", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_body" - }, - { - "id": "tool:update_pull_request_body->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request_body", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request_branch", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_branch" - }, - { - "id": "tool:update_pull_request_branch->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request_branch", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request_draft_state", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_draft_state" - }, - { - "id": "tool:update_pull_request_draft_state->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request_draft_state", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request_state", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_state" - }, - { - "id": "tool:update_pull_request_state->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request_state", - "to": "scope:repo" - }, - { - "id": "toolset:pull_requests->tool:update_pull_request_title", - "kind": "contains", - "from": "toolset:pull_requests", - "to": "tool:update_pull_request_title" - }, - { - "id": "tool:update_pull_request_title->scope:repo", - "kind": "requires", - "from": "tool:update_pull_request_title", - "to": "scope:repo" - }, - { - "id": "toolset:repos->tool:create_branch", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_branch" - }, - { - "id": "tool:create_branch->scope:repo", - "kind": "requires", - "from": "tool:create_branch", - "to": "scope:repo" - }, - { - "id": "toolset:repos->tool:create_or_update_file", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_or_update_file" - }, - { - "id": "tool:create_or_update_file->scope:repo", - "kind": "requires", - "from": "tool:create_or_update_file", - "to": "scope:repo" - }, - { - "id": "tool:create_or_update_file->scope:workflow", - "kind": "requires", - "from": "tool:create_or_update_file", - "to": "scope:workflow" - }, - { - "id": "toolset:repos->tool:create_repository", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:create_repository" - }, - { - "id": "tool:create_repository->scope:repo", - "kind": "requires", - "from": "tool:create_repository", - "to": "scope:repo" - }, - { - "id": "toolset:repos->tool:delete_file", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:delete_file" - }, - { - "id": "tool:delete_file->scope:repo", - "kind": "requires", - "from": "tool:delete_file", - "to": "scope:repo" - }, - { - "id": "tool:delete_file->scope:workflow", - "kind": "requires", - "from": "tool:delete_file", - "to": "scope:workflow" - }, - { - "id": "toolset:repos->tool:delete_repository", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:delete_repository" - }, - { - "id": "tool:delete_repository->scope:delete_repo", - "kind": "requires", - "from": "tool:delete_repository", - "to": "scope:delete_repo" - }, - { - "id": "tool:delete_repository->scope:repo", - "kind": "requires", - "from": "tool:delete_repository", - "to": "scope:repo" - }, - { - "id": "toolset:repos->tool:fork_repository", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:fork_repository" - }, - { - "id": "tool:fork_repository->scope:repo", + "id": "tool:get_team_members->scope:read:org", "kind": "requires", - "from": "tool:fork_repository", - "to": "scope:repo" + "from": "tool:get_team_members", + "to": "scope:read:org" }, { - "id": "toolset:repos->tool:get_commit", + "id": "toolset:context->tool:get_teams", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_commit" + "from": "toolset:context", + "to": "tool:get_teams" }, { - "id": "tool:get_commit->scope:repo", + "id": "tool:get_teams->scope:read:org", "kind": "requires", - "from": "tool:get_commit", - "to": "scope:repo" + "from": "tool:get_teams", + "to": "scope:read:org" }, { - "id": "toolset:repos->tool:get_file_blame", + "id": "toolset:context->tool:ui_get", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_file_blame" + "from": "toolset:context", + "to": "tool:ui_get" }, { - "id": "tool:get_file_blame->scope:repo", + "id": "tool:ui_get->scope:repo", "kind": "requires", - "from": "tool:get_file_blame", + "from": "tool:ui_get", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_file_contents", - "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_file_contents" - }, - { - "id": "tool:get_file_contents->scope:repo", + "id": "tool:ui_get->scope:read:org", "kind": "requires", - "from": "tool:get_file_contents", - "to": "scope:repo" + "from": "tool:ui_get", + "to": "scope:read:org" }, { - "id": "toolset:repos->tool:get_latest_release", + "id": "toolset:copilot->tool:assign_copilot_to_issue", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_latest_release" + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" }, { - "id": "tool:get_latest_release->scope:repo", + "id": "tool:assign_copilot_to_issue->scope:repo", "kind": "requires", - "from": "tool:get_latest_release", + "from": "tool:assign_copilot_to_issue", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_release_by_tag", + "id": "toolset:copilot->tool:request_copilot_review", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_release_by_tag" + "from": "toolset:copilot", + "to": "tool:request_copilot_review" }, { - "id": "tool:get_release_by_tag->scope:repo", + "id": "tool:request_copilot_review->scope:repo", "kind": "requires", - "from": "tool:get_release_by_tag", + "from": "tool:request_copilot_review", "to": "scope:repo" }, { - "id": "toolset:repos->tool:get_tag", + "id": "toolset:dependabot->tool:get_dependabot_alert", "kind": "contains", - "from": "toolset:repos", - "to": "tool:get_tag" + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" }, { - "id": "tool:get_tag->scope:repo", + "id": "tool:get_dependabot_alert->scope:security_events", "kind": "requires", - "from": "tool:get_tag", - "to": "scope:repo" + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_branches", + "id": "toolset:dependabot->tool:list_dependabot_alerts", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_branches" + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" }, { - "id": "tool:list_branches->scope:repo", + "id": "tool:list_dependabot_alerts->scope:security_events", "kind": "requires", - "from": "tool:list_branches", - "to": "scope:repo" + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_commits", + "id": "toolset:dependabot->tool:update_dependabot_alert", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_commits" + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" }, { - "id": "tool:list_commits->scope:repo", + "id": "tool:update_dependabot_alert->scope:security_events", "kind": "requires", - "from": "tool:list_commits", - "to": "scope:repo" + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" }, { - "id": "toolset:repos->tool:list_releases", + "id": "toolset:gists->tool:create_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_releases" + "from": "toolset:gists", + "to": "tool:create_gist" }, { - "id": "tool:list_releases->scope:repo", + "id": "tool:create_gist->scope:gist", "kind": "requires", - "from": "tool:list_releases", - "to": "scope:repo" + "from": "tool:create_gist", + "to": "scope:gist" }, { - "id": "toolset:repos->tool:list_repository_collaborators", + "id": "toolset:gists->tool:get_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_repository_collaborators" - }, - { - "id": "tool:list_repository_collaborators->scope:repo", - "kind": "requires", - "from": "tool:list_repository_collaborators", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:get_gist" }, { - "id": "toolset:repos->tool:list_tags", + "id": "toolset:gists->tool:list_gists", "kind": "contains", - "from": "toolset:repos", - "to": "tool:list_tags" - }, - { - "id": "tool:list_tags->scope:repo", - "kind": "requires", - "from": "tool:list_tags", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:list_gists" }, { - "id": "toolset:repos->tool:push_files", + "id": "toolset:gists->tool:update_gist", "kind": "contains", - "from": "toolset:repos", - "to": "tool:push_files" - }, - { - "id": "tool:push_files->scope:repo", - "kind": "requires", - "from": "tool:push_files", - "to": "scope:repo" + "from": "toolset:gists", + "to": "tool:update_gist" }, { - "id": "tool:push_files->scope:workflow", + "id": "tool:update_gist->scope:gist", "kind": "requires", - "from": "tool:push_files", - "to": "scope:workflow" + "from": "tool:update_gist", + "to": "scope:gist" }, { - "id": "toolset:repos->tool:search_code", + "id": "toolset:labels->tool:get_label", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_code" + "from": "toolset:labels", + "to": "tool:get_label" }, { - "id": "tool:search_code->scope:repo", + "id": "tool:get_label->scope:repo", "kind": "requires", - "from": "tool:search_code", + "from": "tool:get_label", "to": "scope:repo" }, { - "id": "toolset:repos->tool:search_commits", + "id": "toolset:labels->tool:label_write", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_commits" + "from": "toolset:labels", + "to": "tool:label_write" }, { - "id": "tool:search_commits->scope:repo", + "id": "tool:label_write->scope:repo", "kind": "requires", - "from": "tool:search_commits", + "from": "tool:label_write", "to": "scope:repo" }, { - "id": "toolset:repos->tool:search_repositories", + "id": "toolset:labels->tool:list_label", "kind": "contains", - "from": "toolset:repos", - "to": "tool:search_repositories" + "from": "toolset:labels", + "to": "tool:list_label" }, { - "id": "tool:search_repositories->scope:repo", + "id": "tool:list_label->scope:repo", "kind": "requires", - "from": "tool:search_repositories", + "from": "tool:list_label", "to": "scope:repo" }, { - "id": "toolset:secret_protection->tool:get_secret_scanning_alert", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:get_secret_scanning_alert" - }, - { - "id": "tool:get_secret_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:get_secret_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:list_secret_scanning_alerts" - }, - { - "id": "tool:list_secret_scanning_alerts->scope:security_events", - "kind": "requires", - "from": "tool:list_secret_scanning_alerts", - "to": "scope:security_events" - }, - { - "id": "toolset:secret_protection->tool:update_secret_scanning_alert", - "kind": "contains", - "from": "toolset:secret_protection", - "to": "tool:update_secret_scanning_alert" - }, - { - "id": "tool:update_secret_scanning_alert->scope:security_events", - "kind": "requires", - "from": "tool:update_secret_scanning_alert", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:get_global_security_advisory", - "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:get_global_security_advisory" - }, - { - "id": "tool:get_global_security_advisory->scope:security_events", - "kind": "requires", - "from": "tool:get_global_security_advisory", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:list_global_security_advisories", - "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_global_security_advisories" - }, - { - "id": "tool:list_global_security_advisories->scope:security_events", - "kind": "requires", - "from": "tool:list_global_security_advisories", - "to": "scope:security_events" - }, - { - "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "id": "toolset:notifications->tool:dismiss_notification", "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_org_repository_security_advisories" + "from": "toolset:notifications", + "to": "tool:dismiss_notification" }, { - "id": "tool:list_org_repository_security_advisories->scope:security_events", + "id": "tool:dismiss_notification->scope:notifications", "kind": "requires", - "from": "tool:list_org_repository_security_advisories", - "to": "scope:security_events" + "from": "tool:dismiss_notification", + "to": "scope:notifications" }, { - "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "id": "toolset:notifications->tool:get_notification_details", "kind": "contains", - "from": "toolset:security_advisories", - "to": "tool:list_repository_security_advisories" + "from": "toolset:notifications", + "to": "tool:get_notification_details" }, { - "id": "tool:list_repository_security_advisories->scope:security_events", + "id": "tool:get_notification_details->scope:notifications", "kind": "requires", - "from": "tool:list_repository_security_advisories", - "to": "scope:security_events" + "from": "tool:get_notification_details", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:list_starred_repositories", + "id": "toolset:notifications->tool:list_notifications", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:list_starred_repositories" + "from": "toolset:notifications", + "to": "tool:list_notifications" }, { - "id": "tool:list_starred_repositories->scope:repo", + "id": "tool:list_notifications->scope:notifications", "kind": "requires", - "from": "tool:list_starred_repositories", - "to": "scope:repo" + "from": "tool:list_notifications", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:star_repository", + "id": "toolset:notifications->tool:manage_notification_subscription", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:star_repository" + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" }, { - "id": "tool:star_repository->scope:repo", + "id": "tool:manage_notification_subscription->scope:notifications", "kind": "requires", - "from": "tool:star_repository", - "to": "scope:repo" + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" }, { - "id": "toolset:stargazers->tool:unstar_repository", + "id": "toolset:notifications->tool:manage_repository_notification_subscription", "kind": "contains", - "from": "toolset:stargazers", - "to": "tool:unstar_repository" + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" }, { - "id": "tool:unstar_repository->scope:repo", + "id": "tool:manage_repository_notification_subscription->scope:notifications", "kind": "requires", - "from": "tool:unstar_repository", - "to": "scope:repo" + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" }, { - "id": "toolset:users->tool:search_users", + "id": "toolset:notifications->tool:mark_all_notifications_read", "kind": "contains", - "from": "toolset:users", - "to": "tool:search_users" + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" }, { - "id": "tool:search_users->scope:repo", + "id": "tool:mark_all_notifications_read->scope:notifications", "kind": "requires", - "from": "tool:search_users", - "to": "scope:repo" + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" } ] } diff --git a/packages/renderers/graph/fixtures/mcp-tools-full-after.json b/packages/renderers/graph/fixtures/mcp-tools-full-after.json new file mode 100644 index 000000000..44248aa6c --- /dev/null +++ b/packages/renderers/graph/fixtures/mcp-tools-full-after.json @@ -0,0 +1,3261 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + { + "id": "toolset:actions", + "kind": "toolset", + "label": "actions" + }, + { + "id": "tool:actions_get", + "kind": "tool", + "label": "actions_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_list", + "kind": "tool", + "label": "actions_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_run_trigger", + "kind": "tool", + "label": "actions_run_trigger", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_job_logs", + "kind": "tool", + "label": "get_job_logs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_quality", + "kind": "toolset", + "label": "code_quality" + }, + { + "id": "tool:get_code_quality_finding", + "kind": "tool", + "label": "get_code_quality_finding", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_quality_findings", + "kind": "tool", + "label": "list_code_quality_findings", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_security", + "kind": "toolset", + "label": "code_security" + }, + { + "id": "tool:get_code_scanning_alert", + "kind": "tool", + "label": "get_code_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_scanning_alerts", + "kind": "tool", + "label": "list_code_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_code_scanning_alert", + "kind": "tool", + "label": "update_code_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:context", + "kind": "toolset", + "label": "context" + }, + { + "id": "tool:get_me", + "kind": "tool", + "label": "get_me", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_team_members", + "kind": "tool", + "label": "get_team_members", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_teams", + "kind": "tool", + "label": "get_teams", + "data": { + "readOnly": true + } + }, + { + "id": "tool:ui_get", + "kind": "tool", + "label": "ui_get", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:copilot", + "kind": "toolset", + "label": "copilot" + }, + { + "id": "tool:assign_copilot_to_issue", + "kind": "tool", + "label": "assign_copilot_to_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_copilot_review", + "kind": "tool", + "label": "request_copilot_review", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_automations", + "kind": "toolset", + "label": "copilot_automations" + }, + { + "id": "tool:create_automation", + "kind": "tool", + "label": "create_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_automation", + "kind": "tool", + "label": "delete_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_automation", + "kind": "tool", + "label": "get_automation", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_automation_revision", + "kind": "tool", + "label": "get_automation_revision", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_automations_configuration_for_repository", + "kind": "tool", + "label": "get_automations_configuration_for_repository", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_automation_revisions", + "kind": "tool", + "label": "list_automation_revisions", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_automations", + "kind": "tool", + "label": "list_automations", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_available_automation_tools", + "kind": "tool", + "label": "list_available_automation_tools", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_available_automation_triggers", + "kind": "tool", + "label": "list_available_automation_triggers", + "data": { + "readOnly": true + } + }, + { + "id": "tool:run_automation", + "kind": "tool", + "label": "run_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_automation", + "kind": "tool", + "label": "update_automation", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_issue_intents", + "kind": "toolset", + "label": "copilot_issue_intents" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent", + "kind": "tool", + "label": "assign_copilot_to_issue_with_intent", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:dependabot", + "kind": "toolset", + "label": "dependabot" + }, + { + "id": "tool:get_dependabot_alert", + "kind": "tool", + "label": "get_dependabot_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_dependabot_alerts", + "kind": "tool", + "label": "list_dependabot_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_dependabot_alert", + "kind": "tool", + "label": "update_dependabot_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:discussions", + "kind": "toolset", + "label": "discussions" + }, + { + "id": "tool:discussion_comment_write", + "kind": "tool", + "label": "discussion_comment_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_discussion", + "kind": "tool", + "label": "get_discussion", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_discussion_comments", + "kind": "tool", + "label": "get_discussion_comments", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussion_categories", + "kind": "tool", + "label": "list_discussion_categories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussions", + "kind": "tool", + "label": "list_discussions", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:gists", + "kind": "toolset", + "label": "gists" + }, + { + "id": "tool:create_gist", + "kind": "tool", + "label": "create_gist", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_gist", + "kind": "tool", + "label": "get_gist", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_gists", + "kind": "tool", + "label": "list_gists", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_gist", + "kind": "tool", + "label": "update_gist", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:git", + "kind": "toolset", + "label": "git" + }, + { + "id": "tool:get_repository_tree", + "kind": "tool", + "label": "get_repository_tree", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:governance", + "kind": "toolset", + "label": "governance" + }, + { + "id": "tool:create_repository_ruleset", + "kind": "tool", + "label": "create_repository_ruleset", + "data": { + "readOnly": false + } + }, + { + "id": "tool:custom_properties_read", + "kind": "tool", + "label": "custom_properties_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:custom_properties_write", + "kind": "tool", + "label": "custom_properties_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:repository_ruleset_read", + "kind": "tool", + "label": "repository_ruleset_read", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:issues", + "kind": "toolset", + "label": "issues" + }, + { + "id": "tool:add_issue_comment", + "kind": "tool", + "label": "add_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_comment_reaction", + "kind": "tool", + "label": "add_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_reaction", + "kind": "tool", + "label": "add_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_sub_issue", + "kind": "tool", + "label": "add_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_issue", + "kind": "tool", + "label": "create_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:find_duplicate", + "kind": "tool", + "label": "find_duplicate", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_label", + "kind": "tool", + "label": "get_label", + "data": { + "readOnly": true + } + }, + { + "id": "tool:hide_issue_comment", + "kind": "tool", + "label": "hide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_artifact_read", + "kind": "tool", + "label": "issue_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_artifact_write", + "kind": "tool", + "label": "issue_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_dependency_read", + "kind": "tool", + "label": "issue_dependency_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_dependency_write", + "kind": "tool", + "label": "issue_dependency_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_read", + "kind": "tool", + "label": "issue_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_write", + "kind": "tool", + "label": "issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_issue_fields", + "kind": "tool", + "label": "list_issue_fields", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issue_types", + "kind": "tool", + "label": "list_issue_types", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issues", + "kind": "tool", + "label": "list_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:remove_issue_comment_reaction", + "kind": "tool", + "label": "remove_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_issue_reaction", + "kind": "tool", + "label": "remove_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_sub_issue", + "kind": "tool", + "label": "remove_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:reprioritize_sub_issue", + "kind": "tool", + "label": "reprioritize_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_issues", + "kind": "tool", + "label": "search_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:set_issue_fields", + "kind": "tool", + "label": "set_issue_fields", + "data": { + "readOnly": false + } + }, + { + "id": "tool:sub_issue_write", + "kind": "tool", + "label": "sub_issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_issue_comment", + "kind": "tool", + "label": "unhide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_assignees", + "kind": "tool", + "label": "update_issue_assignees", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_body", + "kind": "tool", + "label": "update_issue_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_comment", + "kind": "tool", + "label": "update_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_labels", + "kind": "tool", + "label": "update_issue_labels", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_milestone", + "kind": "tool", + "label": "update_issue_milestone", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_state", + "kind": "tool", + "label": "update_issue_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_title", + "kind": "tool", + "label": "update_issue_title", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_type", + "kind": "tool", + "label": "update_issue_type", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:labels", + "kind": "toolset", + "label": "labels" + }, + { + "id": "tool:label_write", + "kind": "tool", + "label": "label_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_label", + "kind": "tool", + "label": "list_label", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", + "kind": "tool", + "label": "dismiss_notification", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_notification_details", + "kind": "tool", + "label": "get_notification_details", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_notifications", + "kind": "tool", + "label": "list_notifications", + "data": { + "readOnly": true + } + }, + { + "id": "tool:manage_notification_subscription", + "kind": "tool", + "label": "manage_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:manage_repository_notification_subscription", + "kind": "tool", + "label": "manage_repository_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:mark_all_notifications_read", + "kind": "tool", + "label": "mark_all_notifications_read", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:orgs", + "kind": "toolset", + "label": "orgs" + }, + { + "id": "tool:search_orgs", + "kind": "tool", + "label": "search_orgs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:projects", + "kind": "toolset", + "label": "projects" + }, + { + "id": "tool:projects_get", + "kind": "tool", + "label": "projects_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_list", + "kind": "tool", + "label": "projects_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_write", + "kind": "tool", + "label": "projects_write", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:pull_requests", + "kind": "toolset", + "label": "pull_requests" + }, + { + "id": "tool:add_comment_to_pending_review", + "kind": "tool", + "label": "add_comment_to_pending_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment", + "kind": "tool", + "label": "add_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment_reaction", + "kind": "tool", + "label": "add_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_reply_to_pull_request_comment", + "kind": "tool", + "label": "add_reply_to_pull_request_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request", + "kind": "tool", + "label": "create_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request_review", + "kind": "tool", + "label": "create_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_pending_pull_request_review", + "kind": "tool", + "label": "delete_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review", + "kind": "tool", + "label": "hide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review_comment", + "kind": "tool", + "label": "hide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_pull_requests", + "kind": "tool", + "label": "list_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:merge_pull_request", + "kind": "tool", + "label": "merge_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_artifact_read", + "kind": "tool", + "label": "pull_request_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_artifact_write", + "kind": "tool", + "label": "pull_request_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_read", + "kind": "tool", + "label": "pull_request_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_review_write", + "kind": "tool", + "label": "pull_request_review_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_pull_request_review_comment_reaction", + "kind": "tool", + "label": "remove_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_pull_request_reviewers", + "kind": "tool", + "label": "request_pull_request_reviewers", + "data": { + "readOnly": false + } + }, + { + "id": "tool:resolve_review_thread", + "kind": "tool", + "label": "resolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_pull_requests", + "kind": "tool", + "label": "search_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:submit_pending_pull_request_review", + "kind": "tool", + "label": "submit_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review", + "kind": "tool", + "label": "unhide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review_comment", + "kind": "tool", + "label": "unhide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unresolve_review_thread", + "kind": "tool", + "label": "unresolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request", + "kind": "tool", + "label": "update_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_body", + "kind": "tool", + "label": "update_pull_request_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_branch", + "kind": "tool", + "label": "update_pull_request_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_draft_state", + "kind": "tool", + "label": "update_pull_request_draft_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_state", + "kind": "tool", + "label": "update_pull_request_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_title", + "kind": "tool", + "label": "update_pull_request_title", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:repos", + "kind": "toolset", + "label": "repos" + }, + { + "id": "tool:create_branch", + "kind": "tool", + "label": "create_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_or_update_file", + "kind": "tool", + "label": "create_or_update_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_repository", + "kind": "tool", + "label": "create_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_file", + "kind": "tool", + "label": "delete_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_repository", + "kind": "tool", + "label": "delete_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:fork_repository", + "kind": "tool", + "label": "fork_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_commit", + "kind": "tool", + "label": "get_commit", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_blame", + "kind": "tool", + "label": "get_file_blame", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_contents", + "kind": "tool", + "label": "get_file_contents", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_latest_release", + "kind": "tool", + "label": "get_latest_release", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_release_by_tag", + "kind": "tool", + "label": "get_release_by_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_tag", + "kind": "tool", + "label": "get_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_branches", + "kind": "tool", + "label": "list_branches", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_commits", + "kind": "tool", + "label": "list_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_releases", + "kind": "tool", + "label": "list_releases", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_collaborators", + "kind": "tool", + "label": "list_repository_collaborators", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_tags", + "kind": "tool", + "label": "list_tags", + "data": { + "readOnly": true + } + }, + { + "id": "tool:push_files", + "kind": "tool", + "label": "push_files", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_code", + "kind": "tool", + "label": "search_code", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_commits", + "kind": "tool", + "label": "search_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_repositories", + "kind": "tool", + "label": "search_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:secret_protection", + "kind": "toolset", + "label": "secret_protection" + }, + { + "id": "tool:get_secret_scanning_alert", + "kind": "tool", + "label": "get_secret_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_secret_scanning_alerts", + "kind": "tool", + "label": "list_secret_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_secret_scanning_alert", + "kind": "tool", + "label": "update_secret_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:security_advisories", + "kind": "toolset", + "label": "security_advisories" + }, + { + "id": "tool:get_global_security_advisory", + "kind": "tool", + "label": "get_global_security_advisory", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_global_security_advisories", + "kind": "tool", + "label": "list_global_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_org_repository_security_advisories", + "kind": "tool", + "label": "list_org_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_security_advisories", + "kind": "tool", + "label": "list_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:stargazers", + "kind": "toolset", + "label": "stargazers" + }, + { + "id": "tool:list_starred_repositories", + "kind": "tool", + "label": "list_starred_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:star_repository", + "kind": "tool", + "label": "star_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unstar_repository", + "kind": "tool", + "label": "unstar_repository", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:users", + "kind": "toolset", + "label": "users" + }, + { + "id": "tool:search_users", + "kind": "tool", + "label": "search_users", + "data": { + "readOnly": true + } + }, + { + "id": "scope:admin:enterprise", + "kind": "scope", + "label": "admin:enterprise" + }, + { + "id": "scope:admin:org", + "kind": "scope", + "label": "admin:org" + }, + { + "id": "scope:delete_repo", + "kind": "scope", + "label": "delete_repo" + }, + { + "id": "scope:gist", + "kind": "scope", + "label": "gist" + }, + { + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" + }, + { + "id": "scope:project", + "kind": "scope", + "label": "project" + }, + { + "id": "scope:read:enterprise", + "kind": "scope", + "label": "read:enterprise" + }, + { + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" + }, + { + "id": "scope:read:project", + "kind": "scope", + "label": "read:project" + }, + { + "id": "scope:repo", + "kind": "scope", + "label": "repo" + }, + { + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + }, + { + "id": "scope:workflow", + "kind": "scope", + "label": "workflow" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" + }, + { + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" + }, + { + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" + }, + { + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" + }, + { + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:get_code_quality_finding", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:get_code_quality_finding" + }, + { + "id": "tool:get_code_quality_finding->scope:repo", + "kind": "requires", + "from": "tool:get_code_quality_finding", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:list_code_quality_findings", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:list_code_quality_findings" + }, + { + "id": "tool:list_code_quality_findings->scope:repo", + "kind": "requires", + "from": "tool:list_code_quality_findings", + "to": "scope:repo" + }, + { + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" + }, + { + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" + }, + { + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" + }, + { + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" + }, + { + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" + }, + { + "id": "tool:get_team_members->scope:read:org", + "kind": "requires", + "from": "tool:get_team_members", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:get_teams", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_teams" + }, + { + "id": "tool:get_teams->scope:read:org", + "kind": "requires", + "from": "tool:get_teams", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:ui_get", + "kind": "contains", + "from": "toolset:context", + "to": "tool:ui_get" + }, + { + "id": "tool:ui_get->scope:repo", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:repo" + }, + { + "id": "tool:ui_get->scope:read:org", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:read:org" + }, + { + "id": "toolset:copilot->tool:assign_copilot_to_issue", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" + }, + { + "id": "tool:assign_copilot_to_issue->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue", + "to": "scope:repo" + }, + { + "id": "toolset:copilot->tool:request_copilot_review", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:request_copilot_review" + }, + { + "id": "tool:request_copilot_review->scope:repo", + "kind": "requires", + "from": "tool:request_copilot_review", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:create_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:create_automation" + }, + { + "id": "tool:create_automation->scope:repo", + "kind": "requires", + "from": "tool:create_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:delete_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:delete_automation" + }, + { + "id": "tool:delete_automation->scope:repo", + "kind": "requires", + "from": "tool:delete_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automation" + }, + { + "id": "tool:get_automation->scope:repo", + "kind": "requires", + "from": "tool:get_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automation_revision", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automation_revision" + }, + { + "id": "tool:get_automation_revision->scope:repo", + "kind": "requires", + "from": "tool:get_automation_revision", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automations_configuration_for_repository", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automations_configuration_for_repository" + }, + { + "id": "tool:get_automations_configuration_for_repository->scope:repo", + "kind": "requires", + "from": "tool:get_automations_configuration_for_repository", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_automation_revisions", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_automation_revisions" + }, + { + "id": "tool:list_automation_revisions->scope:repo", + "kind": "requires", + "from": "tool:list_automation_revisions", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_automations", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_automations" + }, + { + "id": "tool:list_automations->scope:repo", + "kind": "requires", + "from": "tool:list_automations", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_available_automation_tools", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_tools" + }, + { + "id": "tool:list_available_automation_tools->scope:repo", + "kind": "requires", + "from": "tool:list_available_automation_tools", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_available_automation_triggers", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_triggers" + }, + { + "id": "tool:list_available_automation_triggers->scope:repo", + "kind": "requires", + "from": "tool:list_available_automation_triggers", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:run_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:run_automation" + }, + { + "id": "tool:run_automation->scope:repo", + "kind": "requires", + "from": "tool:run_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:update_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:update_automation" + }, + { + "id": "tool:update_automation->scope:repo", + "kind": "requires", + "from": "tool:update_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", + "kind": "contains", + "from": "toolset:copilot_issue_intents", + "to": "tool:assign_copilot_to_issue_with_intent" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue_with_intent", + "to": "scope:repo" + }, + { + "id": "toolset:dependabot->tool:get_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" + }, + { + "id": "tool:get_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:list_dependabot_alerts", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" + }, + { + "id": "tool:list_dependabot_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:update_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" + }, + { + "id": "tool:update_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:discussions->tool:discussion_comment_write", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:discussion_comment_write" + }, + { + "id": "tool:discussion_comment_write->scope:repo", + "kind": "requires", + "from": "tool:discussion_comment_write", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion" + }, + { + "id": "tool:get_discussion->scope:repo", + "kind": "requires", + "from": "tool:get_discussion", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion_comments", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion_comments" + }, + { + "id": "tool:get_discussion_comments->scope:repo", + "kind": "requires", + "from": "tool:get_discussion_comments", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussion_categories", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussion_categories" + }, + { + "id": "tool:list_discussion_categories->scope:repo", + "kind": "requires", + "from": "tool:list_discussion_categories", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussions", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussions" + }, + { + "id": "tool:list_discussions->scope:repo", + "kind": "requires", + "from": "tool:list_discussions", + "to": "scope:repo" + }, + { + "id": "toolset:gists->tool:create_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:create_gist" + }, + { + "id": "tool:create_gist->scope:gist", + "kind": "requires", + "from": "tool:create_gist", + "to": "scope:gist" + }, + { + "id": "toolset:gists->tool:get_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:get_gist" + }, + { + "id": "toolset:gists->tool:list_gists", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:list_gists" + }, + { + "id": "toolset:gists->tool:update_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:update_gist" + }, + { + "id": "tool:update_gist->scope:gist", + "kind": "requires", + "from": "tool:update_gist", + "to": "scope:gist" + }, + { + "id": "toolset:git->tool:get_repository_tree", + "kind": "contains", + "from": "toolset:git", + "to": "tool:get_repository_tree" + }, + { + "id": "tool:get_repository_tree->scope:repo", + "kind": "requires", + "from": "tool:get_repository_tree", + "to": "scope:repo" + }, + { + "id": "toolset:governance->tool:create_repository_ruleset", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:create_repository_ruleset" + }, + { + "id": "tool:create_repository_ruleset->scope:repo", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:repo" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:org", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:org" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:enterprise", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_read" + }, + { + "id": "tool:custom_properties_read->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_read->scope:read:org", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:org" + }, + { + "id": "tool:custom_properties_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_write", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_write" + }, + { + "id": "tool:custom_properties_write->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_write->scope:admin:org", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:org" + }, + { + "id": "tool:custom_properties_write->scope:admin:enterprise", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:repository_ruleset_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:repository_ruleset_read" + }, + { + "id": "tool:repository_ruleset_read->scope:repo", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:repo" + }, + { + "id": "tool:repository_ruleset_read->scope:read:org", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:org" + }, + { + "id": "tool:repository_ruleset_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:issues->tool:add_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment" + }, + { + "id": "tool:add_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment_reaction" + }, + { + "id": "tool:add_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_reaction" + }, + { + "id": "tool:add_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_sub_issue" + }, + { + "id": "tool:add_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:add_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:create_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:create_issue" + }, + { + "id": "tool:create_issue->scope:repo", + "kind": "requires", + "from": "tool:create_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:find_duplicate", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:find_duplicate" + }, + { + "id": "tool:find_duplicate->scope:repo", + "kind": "requires", + "from": "tool:find_duplicate", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:get_label", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:get_label" + }, + { + "id": "tool:get_label->scope:repo", + "kind": "requires", + "from": "tool:get_label", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:hide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:hide_issue_comment" + }, + { + "id": "tool:hide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_read" + }, + { + "id": "tool:issue_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_write" + }, + { + "id": "tool:issue_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_read" + }, + { + "id": "tool:issue_dependency_read->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_write" + }, + { + "id": "tool:issue_dependency_write->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_read" + }, + { + "id": "tool:issue_read->scope:repo", + "kind": "requires", + "from": "tool:issue_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_write" + }, + { + "id": "tool:issue_write->scope:repo", + "kind": "requires", + "from": "tool:issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:list_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_fields" + }, + { + "id": "tool:list_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_fields->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issue_types", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_types" + }, + { + "id": "tool:list_issue_types->scope:repo", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_types->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issues" + }, + { + "id": "tool:list_issues->scope:repo", + "kind": "requires", + "from": "tool:list_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_comment_reaction" + }, + { + "id": "tool:remove_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_reaction" + }, + { + "id": "tool:remove_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_sub_issue" + }, + { + "id": "tool:remove_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:remove_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:reprioritize_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:reprioritize_sub_issue" + }, + { + "id": "tool:reprioritize_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:reprioritize_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:search_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:search_issues" + }, + { + "id": "tool:search_issues->scope:repo", + "kind": "requires", + "from": "tool:search_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:set_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:set_issue_fields" + }, + { + "id": "tool:set_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:set_issue_fields", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:sub_issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:sub_issue_write" + }, + { + "id": "tool:sub_issue_write->scope:repo", + "kind": "requires", + "from": "tool:sub_issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:unhide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:unhide_issue_comment" + }, + { + "id": "tool:unhide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_assignees", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_assignees" + }, + { + "id": "tool:update_issue_assignees->scope:repo", + "kind": "requires", + "from": "tool:update_issue_assignees", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_body", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_body" + }, + { + "id": "tool:update_issue_body->scope:repo", + "kind": "requires", + "from": "tool:update_issue_body", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_comment" + }, + { + "id": "tool:update_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:update_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_labels", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_labels" + }, + { + "id": "tool:update_issue_labels->scope:repo", + "kind": "requires", + "from": "tool:update_issue_labels", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_milestone", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_milestone" + }, + { + "id": "tool:update_issue_milestone->scope:repo", + "kind": "requires", + "from": "tool:update_issue_milestone", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_state", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_state" + }, + { + "id": "tool:update_issue_state->scope:repo", + "kind": "requires", + "from": "tool:update_issue_state", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_title", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_title" + }, + { + "id": "tool:update_issue_title->scope:repo", + "kind": "requires", + "from": "tool:update_issue_title", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_type", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_type" + }, + { + "id": "tool:update_issue_type->scope:repo", + "kind": "requires", + "from": "tool:update_issue_type", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:get_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:get_label" + }, + { + "id": "toolset:labels->tool:label_write", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:label_write" + }, + { + "id": "tool:label_write->scope:repo", + "kind": "requires", + "from": "tool:label_write", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:list_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:list_label" + }, + { + "id": "tool:list_label->scope:repo", + "kind": "requires", + "from": "tool:list_label", + "to": "scope:repo" + }, + { + "id": "toolset:notifications->tool:dismiss_notification", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:dismiss_notification" + }, + { + "id": "tool:dismiss_notification->scope:notifications", + "kind": "requires", + "from": "tool:dismiss_notification", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:get_notification_details", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:get_notification_details" + }, + { + "id": "tool:get_notification_details->scope:notifications", + "kind": "requires", + "from": "tool:get_notification_details", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:list_notifications", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:list_notifications" + }, + { + "id": "tool:list_notifications->scope:notifications", + "kind": "requires", + "from": "tool:list_notifications", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" + }, + { + "id": "tool:manage_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_repository_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" + }, + { + "id": "tool:manage_repository_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:mark_all_notifications_read", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" + }, + { + "id": "tool:mark_all_notifications_read->scope:notifications", + "kind": "requires", + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" + }, + { + "id": "toolset:orgs->tool:search_orgs", + "kind": "contains", + "from": "toolset:orgs", + "to": "tool:search_orgs" + }, + { + "id": "tool:search_orgs->scope:read:org", + "kind": "requires", + "from": "tool:search_orgs", + "to": "scope:read:org" + }, + { + "id": "toolset:projects->tool:projects_get", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_get" + }, + { + "id": "tool:projects_get->scope:read:project", + "kind": "requires", + "from": "tool:projects_get", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_list", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_list" + }, + { + "id": "tool:projects_list->scope:read:project", + "kind": "requires", + "from": "tool:projects_list", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_write", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_write" + }, + { + "id": "tool:projects_write->scope:project", + "kind": "requires", + "from": "tool:projects_write", + "to": "scope:project" + }, + { + "id": "toolset:pull_requests->tool:add_comment_to_pending_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_comment_to_pending_review" + }, + { + "id": "tool:add_comment_to_pending_review->scope:repo", + "kind": "requires", + "from": "tool:add_comment_to_pending_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment" + }, + { + "id": "tool:add_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment_reaction" + }, + { + "id": "tool:add_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_reply_to_pull_request_comment" + }, + { + "id": "tool:add_reply_to_pull_request_comment->scope:repo", + "kind": "requires", + "from": "tool:add_reply_to_pull_request_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request" + }, + { + "id": "tool:create_pull_request->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request_review" + }, + { + "id": "tool:create_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:delete_pending_pull_request_review" + }, + { + "id": "tool:delete_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:delete_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review" + }, + { + "id": "tool:hide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review_comment" + }, + { + "id": "tool:hide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:list_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:list_pull_requests" + }, + { + "id": "tool:list_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:list_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:merge_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:merge_pull_request" + }, + { + "id": "tool:merge_pull_request->scope:repo", + "kind": "requires", + "from": "tool:merge_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_read" + }, + { + "id": "tool:pull_request_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_write" + }, + { + "id": "tool:pull_request_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_read" + }, + { + "id": "tool:pull_request_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_review_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_review_write" + }, + { + "id": "tool:pull_request_review_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_review_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:remove_pull_request_review_comment_reaction" + }, + { + "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:request_pull_request_reviewers", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:request_pull_request_reviewers" + }, + { + "id": "tool:request_pull_request_reviewers->scope:repo", + "kind": "requires", + "from": "tool:request_pull_request_reviewers", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:resolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:resolve_review_thread" + }, + { + "id": "tool:resolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:resolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:search_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:search_pull_requests" + }, + { + "id": "tool:search_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:search_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:submit_pending_pull_request_review" + }, + { + "id": "tool:submit_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:submit_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review" + }, + { + "id": "tool:unhide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review_comment" + }, + { + "id": "tool:unhide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unresolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unresolve_review_thread" + }, + { + "id": "tool:unresolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:unresolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request" + }, + { + "id": "tool:update_pull_request->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_body", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_body" + }, + { + "id": "tool:update_pull_request_body->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_body", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_branch", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_branch" + }, + { + "id": "tool:update_pull_request_branch->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_branch", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_draft_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_draft_state" + }, + { + "id": "tool:update_pull_request_draft_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_draft_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_state" + }, + { + "id": "tool:update_pull_request_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_title", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_title" + }, + { + "id": "tool:update_pull_request_title->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_title", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_branch", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_branch" + }, + { + "id": "tool:create_branch->scope:repo", + "kind": "requires", + "from": "tool:create_branch", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_or_update_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_or_update_file" + }, + { + "id": "tool:create_or_update_file->scope:repo", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:repo" + }, + { + "id": "tool:create_or_update_file->scope:workflow", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:create_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_repository" + }, + { + "id": "tool:create_repository->scope:repo", + "kind": "requires", + "from": "tool:create_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:delete_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_file" + }, + { + "id": "tool:delete_file->scope:repo", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:repo" + }, + { + "id": "tool:delete_file->scope:workflow", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:delete_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_repository" + }, + { + "id": "tool:delete_repository->scope:delete_repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:delete_repo" + }, + { + "id": "tool:delete_repository->scope:repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:fork_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:fork_repository" + }, + { + "id": "tool:fork_repository->scope:repo", + "kind": "requires", + "from": "tool:fork_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_commit", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_commit" + }, + { + "id": "tool:get_commit->scope:repo", + "kind": "requires", + "from": "tool:get_commit", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_blame", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_blame" + }, + { + "id": "tool:get_file_blame->scope:repo", + "kind": "requires", + "from": "tool:get_file_blame", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_contents", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_contents" + }, + { + "id": "tool:get_file_contents->scope:repo", + "kind": "requires", + "from": "tool:get_file_contents", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_latest_release", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_latest_release" + }, + { + "id": "tool:get_latest_release->scope:repo", + "kind": "requires", + "from": "tool:get_latest_release", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_release_by_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_release_by_tag" + }, + { + "id": "tool:get_release_by_tag->scope:repo", + "kind": "requires", + "from": "tool:get_release_by_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_tag" + }, + { + "id": "tool:get_tag->scope:repo", + "kind": "requires", + "from": "tool:get_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_branches", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_branches" + }, + { + "id": "tool:list_branches->scope:repo", + "kind": "requires", + "from": "tool:list_branches", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_commits" + }, + { + "id": "tool:list_commits->scope:repo", + "kind": "requires", + "from": "tool:list_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_releases", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_releases" + }, + { + "id": "tool:list_releases->scope:repo", + "kind": "requires", + "from": "tool:list_releases", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_repository_collaborators", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_repository_collaborators" + }, + { + "id": "tool:list_repository_collaborators->scope:repo", + "kind": "requires", + "from": "tool:list_repository_collaborators", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_tags", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_tags" + }, + { + "id": "tool:list_tags->scope:repo", + "kind": "requires", + "from": "tool:list_tags", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:push_files", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:push_files" + }, + { + "id": "tool:push_files->scope:repo", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:repo" + }, + { + "id": "tool:push_files->scope:workflow", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:search_code", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_code" + }, + { + "id": "tool:search_code->scope:repo", + "kind": "requires", + "from": "tool:search_code", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_commits" + }, + { + "id": "tool:search_commits->scope:repo", + "kind": "requires", + "from": "tool:search_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_repositories", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_repositories" + }, + { + "id": "tool:search_repositories->scope:repo", + "kind": "requires", + "from": "tool:search_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:secret_protection->tool:get_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:get_secret_scanning_alert" + }, + { + "id": "tool:get_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:list_secret_scanning_alerts" + }, + { + "id": "tool:list_secret_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_secret_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:update_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:update_secret_scanning_alert" + }, + { + "id": "tool:update_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:get_global_security_advisory", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:get_global_security_advisory" + }, + { + "id": "tool:get_global_security_advisory->scope:security_events", + "kind": "requires", + "from": "tool:get_global_security_advisory", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_global_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_global_security_advisories" + }, + { + "id": "tool:list_global_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_global_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_org_repository_security_advisories" + }, + { + "id": "tool:list_org_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_org_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_repository_security_advisories" + }, + { + "id": "tool:list_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:stargazers->tool:list_starred_repositories", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:list_starred_repositories" + }, + { + "id": "tool:list_starred_repositories->scope:repo", + "kind": "requires", + "from": "tool:list_starred_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:star_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:star_repository" + }, + { + "id": "tool:star_repository->scope:repo", + "kind": "requires", + "from": "tool:star_repository", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:unstar_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:unstar_repository" + }, + { + "id": "tool:unstar_repository->scope:repo", + "kind": "requires", + "from": "tool:unstar_repository", + "to": "scope:repo" + }, + { + "id": "toolset:users->tool:search_users", + "kind": "contains", + "from": "toolset:users", + "to": "tool:search_users" + }, + { + "id": "tool:search_users->scope:repo", + "kind": "requires", + "from": "tool:search_users", + "to": "scope:repo" + } + ] +} diff --git a/packages/renderers/graph/fixtures/mcp-tools-full-before.json b/packages/renderers/graph/fixtures/mcp-tools-full-before.json new file mode 100644 index 000000000..508288f29 --- /dev/null +++ b/packages/renderers/graph/fixtures/mcp-tools-full-before.json @@ -0,0 +1,3036 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + { + "id": "toolset:actions", + "kind": "toolset", + "label": "actions" + }, + { + "id": "tool:actions_get", + "kind": "tool", + "label": "actions_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_list", + "kind": "tool", + "label": "actions_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_run_trigger", + "kind": "tool", + "label": "actions_run_trigger", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_job_logs", + "kind": "tool", + "label": "get_job_logs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_quality", + "kind": "toolset", + "label": "code_quality" + }, + { + "id": "tool:get_code_quality_finding", + "kind": "tool", + "label": "get_code_quality_finding", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_quality_findings", + "kind": "tool", + "label": "list_code_quality_findings", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_security", + "kind": "toolset", + "label": "code_security" + }, + { + "id": "tool:get_code_scanning_alert", + "kind": "tool", + "label": "get_code_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_scanning_alerts", + "kind": "tool", + "label": "list_code_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_code_scanning_alert", + "kind": "tool", + "label": "update_code_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:context", + "kind": "toolset", + "label": "context" + }, + { + "id": "tool:get_me", + "kind": "tool", + "label": "get_me", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_team_members", + "kind": "tool", + "label": "get_team_members", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_teams", + "kind": "tool", + "label": "get_teams", + "data": { + "readOnly": true + } + }, + { + "id": "tool:ui_get", + "kind": "tool", + "label": "ui_get", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:copilot", + "kind": "toolset", + "label": "copilot" + }, + { + "id": "tool:assign_copilot_to_issue", + "kind": "tool", + "label": "assign_copilot_to_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_copilot_review", + "kind": "tool", + "label": "request_copilot_review", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_issue_intents", + "kind": "toolset", + "label": "copilot_issue_intents" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent", + "kind": "tool", + "label": "assign_copilot_to_issue_with_intent", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:dependabot", + "kind": "toolset", + "label": "dependabot" + }, + { + "id": "tool:get_dependabot_alert", + "kind": "tool", + "label": "get_dependabot_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_dependabot_alerts", + "kind": "tool", + "label": "list_dependabot_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_dependabot_alert", + "kind": "tool", + "label": "update_dependabot_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:discussions", + "kind": "toolset", + "label": "discussions" + }, + { + "id": "tool:discussion_comment_write", + "kind": "tool", + "label": "discussion_comment_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_discussion", + "kind": "tool", + "label": "get_discussion", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_discussion_comments", + "kind": "tool", + "label": "get_discussion_comments", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussion_categories", + "kind": "tool", + "label": "list_discussion_categories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussions", + "kind": "tool", + "label": "list_discussions", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:gists", + "kind": "toolset", + "label": "gists" + }, + { + "id": "tool:create_gist", + "kind": "tool", + "label": "create_gist", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_gist", + "kind": "tool", + "label": "get_gist", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_gists", + "kind": "tool", + "label": "list_gists", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_gist", + "kind": "tool", + "label": "update_gist", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:git", + "kind": "toolset", + "label": "git" + }, + { + "id": "tool:get_repository_tree", + "kind": "tool", + "label": "get_repository_tree", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:governance", + "kind": "toolset", + "label": "governance" + }, + { + "id": "tool:create_repository_ruleset", + "kind": "tool", + "label": "create_repository_ruleset", + "data": { + "readOnly": false + } + }, + { + "id": "tool:custom_properties_read", + "kind": "tool", + "label": "custom_properties_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:custom_properties_write", + "kind": "tool", + "label": "custom_properties_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:repository_ruleset_read", + "kind": "tool", + "label": "repository_ruleset_read", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:issues", + "kind": "toolset", + "label": "issues" + }, + { + "id": "tool:add_issue_comment", + "kind": "tool", + "label": "add_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_comment_reaction", + "kind": "tool", + "label": "add_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_reaction", + "kind": "tool", + "label": "add_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_sub_issue", + "kind": "tool", + "label": "add_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_issue", + "kind": "tool", + "label": "create_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:find_duplicate", + "kind": "tool", + "label": "find_duplicate", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_label", + "kind": "tool", + "label": "get_label", + "data": { + "readOnly": true + } + }, + { + "id": "tool:hide_issue_comment", + "kind": "tool", + "label": "hide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_artifact_read", + "kind": "tool", + "label": "issue_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_artifact_write", + "kind": "tool", + "label": "issue_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_dependency_read", + "kind": "tool", + "label": "issue_dependency_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_dependency_write", + "kind": "tool", + "label": "issue_dependency_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_read", + "kind": "tool", + "label": "issue_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_write", + "kind": "tool", + "label": "issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_issue_fields", + "kind": "tool", + "label": "list_issue_fields", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issue_types", + "kind": "tool", + "label": "list_issue_types", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issues", + "kind": "tool", + "label": "list_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:remove_issue_comment_reaction", + "kind": "tool", + "label": "remove_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_issue_reaction", + "kind": "tool", + "label": "remove_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_sub_issue", + "kind": "tool", + "label": "remove_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:reprioritize_sub_issue", + "kind": "tool", + "label": "reprioritize_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_issues", + "kind": "tool", + "label": "search_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:set_issue_fields", + "kind": "tool", + "label": "set_issue_fields", + "data": { + "readOnly": false + } + }, + { + "id": "tool:sub_issue_write", + "kind": "tool", + "label": "sub_issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_issue_comment", + "kind": "tool", + "label": "unhide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_assignees", + "kind": "tool", + "label": "update_issue_assignees", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_body", + "kind": "tool", + "label": "update_issue_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_comment", + "kind": "tool", + "label": "update_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_labels", + "kind": "tool", + "label": "update_issue_labels", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_milestone", + "kind": "tool", + "label": "update_issue_milestone", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_state", + "kind": "tool", + "label": "update_issue_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_title", + "kind": "tool", + "label": "update_issue_title", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_type", + "kind": "tool", + "label": "update_issue_type", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:labels", + "kind": "toolset", + "label": "labels" + }, + { + "id": "tool:label_write", + "kind": "tool", + "label": "label_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_label", + "kind": "tool", + "label": "list_label", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", + "kind": "tool", + "label": "dismiss_notification", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_notification_details", + "kind": "tool", + "label": "get_notification_details", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_notifications", + "kind": "tool", + "label": "list_notifications", + "data": { + "readOnly": true + } + }, + { + "id": "tool:manage_notification_subscription", + "kind": "tool", + "label": "manage_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:manage_repository_notification_subscription", + "kind": "tool", + "label": "manage_repository_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:mark_all_notifications_read", + "kind": "tool", + "label": "mark_all_notifications_read", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:orgs", + "kind": "toolset", + "label": "orgs" + }, + { + "id": "tool:search_orgs", + "kind": "tool", + "label": "search_orgs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:projects", + "kind": "toolset", + "label": "projects" + }, + { + "id": "tool:projects_get", + "kind": "tool", + "label": "projects_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_list", + "kind": "tool", + "label": "projects_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_write", + "kind": "tool", + "label": "projects_write", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:pull_requests", + "kind": "toolset", + "label": "pull_requests" + }, + { + "id": "tool:add_comment_to_pending_review", + "kind": "tool", + "label": "add_comment_to_pending_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment", + "kind": "tool", + "label": "add_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment_reaction", + "kind": "tool", + "label": "add_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_reply_to_pull_request_comment", + "kind": "tool", + "label": "add_reply_to_pull_request_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request", + "kind": "tool", + "label": "create_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request_review", + "kind": "tool", + "label": "create_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_pending_pull_request_review", + "kind": "tool", + "label": "delete_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review", + "kind": "tool", + "label": "hide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review_comment", + "kind": "tool", + "label": "hide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_pull_requests", + "kind": "tool", + "label": "list_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:merge_pull_request", + "kind": "tool", + "label": "merge_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_artifact_read", + "kind": "tool", + "label": "pull_request_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_artifact_write", + "kind": "tool", + "label": "pull_request_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_read", + "kind": "tool", + "label": "pull_request_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_review_write", + "kind": "tool", + "label": "pull_request_review_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_pull_request_review_comment_reaction", + "kind": "tool", + "label": "remove_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_pull_request_reviewers", + "kind": "tool", + "label": "request_pull_request_reviewers", + "data": { + "readOnly": false + } + }, + { + "id": "tool:resolve_review_thread", + "kind": "tool", + "label": "resolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_pull_requests", + "kind": "tool", + "label": "search_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:submit_pending_pull_request_review", + "kind": "tool", + "label": "submit_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review", + "kind": "tool", + "label": "unhide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review_comment", + "kind": "tool", + "label": "unhide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unresolve_review_thread", + "kind": "tool", + "label": "unresolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request", + "kind": "tool", + "label": "update_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_body", + "kind": "tool", + "label": "update_pull_request_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_branch", + "kind": "tool", + "label": "update_pull_request_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_draft_state", + "kind": "tool", + "label": "update_pull_request_draft_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_state", + "kind": "tool", + "label": "update_pull_request_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_title", + "kind": "tool", + "label": "update_pull_request_title", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:repos", + "kind": "toolset", + "label": "repos" + }, + { + "id": "tool:create_branch", + "kind": "tool", + "label": "create_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_or_update_file", + "kind": "tool", + "label": "create_or_update_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_repository", + "kind": "tool", + "label": "create_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_file", + "kind": "tool", + "label": "delete_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_repository", + "kind": "tool", + "label": "delete_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:fork_repository", + "kind": "tool", + "label": "fork_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_commit", + "kind": "tool", + "label": "get_commit", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_blame", + "kind": "tool", + "label": "get_file_blame", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_contents", + "kind": "tool", + "label": "get_file_contents", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_latest_release", + "kind": "tool", + "label": "get_latest_release", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_release_by_tag", + "kind": "tool", + "label": "get_release_by_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_tag", + "kind": "tool", + "label": "get_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_branches", + "kind": "tool", + "label": "list_branches", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_commits", + "kind": "tool", + "label": "list_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_releases", + "kind": "tool", + "label": "list_releases", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_collaborators", + "kind": "tool", + "label": "list_repository_collaborators", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_tags", + "kind": "tool", + "label": "list_tags", + "data": { + "readOnly": true + } + }, + { + "id": "tool:push_files", + "kind": "tool", + "label": "push_files", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_code", + "kind": "tool", + "label": "search_code", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_commits", + "kind": "tool", + "label": "search_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_repositories", + "kind": "tool", + "label": "search_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:secret_protection", + "kind": "toolset", + "label": "secret_protection" + }, + { + "id": "tool:get_secret_scanning_alert", + "kind": "tool", + "label": "get_secret_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_secret_scanning_alerts", + "kind": "tool", + "label": "list_secret_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_secret_scanning_alert", + "kind": "tool", + "label": "update_secret_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:security_advisories", + "kind": "toolset", + "label": "security_advisories" + }, + { + "id": "tool:get_global_security_advisory", + "kind": "tool", + "label": "get_global_security_advisory", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_global_security_advisories", + "kind": "tool", + "label": "list_global_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_org_repository_security_advisories", + "kind": "tool", + "label": "list_org_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_security_advisories", + "kind": "tool", + "label": "list_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:stargazers", + "kind": "toolset", + "label": "stargazers" + }, + { + "id": "tool:list_starred_repositories", + "kind": "tool", + "label": "list_starred_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:star_repository", + "kind": "tool", + "label": "star_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unstar_repository", + "kind": "tool", + "label": "unstar_repository", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:users", + "kind": "toolset", + "label": "users" + }, + { + "id": "tool:search_users", + "kind": "tool", + "label": "search_users", + "data": { + "readOnly": true + } + }, + { + "id": "scope:admin:enterprise", + "kind": "scope", + "label": "admin:enterprise" + }, + { + "id": "scope:admin:org", + "kind": "scope", + "label": "admin:org" + }, + { + "id": "scope:delete_repo", + "kind": "scope", + "label": "delete_repo" + }, + { + "id": "scope:gist", + "kind": "scope", + "label": "gist" + }, + { + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" + }, + { + "id": "scope:project", + "kind": "scope", + "label": "project" + }, + { + "id": "scope:read:enterprise", + "kind": "scope", + "label": "read:enterprise" + }, + { + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" + }, + { + "id": "scope:read:project", + "kind": "scope", + "label": "read:project" + }, + { + "id": "scope:repo", + "kind": "scope", + "label": "repo" + }, + { + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + }, + { + "id": "scope:workflow", + "kind": "scope", + "label": "workflow" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" + }, + { + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" + }, + { + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" + }, + { + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" + }, + { + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:get_code_quality_finding", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:get_code_quality_finding" + }, + { + "id": "tool:get_code_quality_finding->scope:repo", + "kind": "requires", + "from": "tool:get_code_quality_finding", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:list_code_quality_findings", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:list_code_quality_findings" + }, + { + "id": "tool:list_code_quality_findings->scope:repo", + "kind": "requires", + "from": "tool:list_code_quality_findings", + "to": "scope:repo" + }, + { + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" + }, + { + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" + }, + { + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" + }, + { + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" + }, + { + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" + }, + { + "id": "tool:get_team_members->scope:read:org", + "kind": "requires", + "from": "tool:get_team_members", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:get_teams", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_teams" + }, + { + "id": "tool:get_teams->scope:read:org", + "kind": "requires", + "from": "tool:get_teams", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:ui_get", + "kind": "contains", + "from": "toolset:context", + "to": "tool:ui_get" + }, + { + "id": "tool:ui_get->scope:repo", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:repo" + }, + { + "id": "tool:ui_get->scope:read:org", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:read:org" + }, + { + "id": "toolset:copilot->tool:assign_copilot_to_issue", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" + }, + { + "id": "tool:assign_copilot_to_issue->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue", + "to": "scope:repo" + }, + { + "id": "toolset:copilot->tool:request_copilot_review", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:request_copilot_review" + }, + { + "id": "tool:request_copilot_review->scope:repo", + "kind": "requires", + "from": "tool:request_copilot_review", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", + "kind": "contains", + "from": "toolset:copilot_issue_intents", + "to": "tool:assign_copilot_to_issue_with_intent" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue_with_intent", + "to": "scope:repo" + }, + { + "id": "toolset:dependabot->tool:get_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" + }, + { + "id": "tool:get_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:list_dependabot_alerts", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" + }, + { + "id": "tool:list_dependabot_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:update_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" + }, + { + "id": "tool:update_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:discussions->tool:discussion_comment_write", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:discussion_comment_write" + }, + { + "id": "tool:discussion_comment_write->scope:repo", + "kind": "requires", + "from": "tool:discussion_comment_write", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion" + }, + { + "id": "tool:get_discussion->scope:repo", + "kind": "requires", + "from": "tool:get_discussion", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion_comments", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion_comments" + }, + { + "id": "tool:get_discussion_comments->scope:repo", + "kind": "requires", + "from": "tool:get_discussion_comments", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussion_categories", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussion_categories" + }, + { + "id": "tool:list_discussion_categories->scope:repo", + "kind": "requires", + "from": "tool:list_discussion_categories", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussions", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussions" + }, + { + "id": "tool:list_discussions->scope:repo", + "kind": "requires", + "from": "tool:list_discussions", + "to": "scope:repo" + }, + { + "id": "toolset:gists->tool:create_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:create_gist" + }, + { + "id": "tool:create_gist->scope:gist", + "kind": "requires", + "from": "tool:create_gist", + "to": "scope:gist" + }, + { + "id": "toolset:gists->tool:get_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:get_gist" + }, + { + "id": "toolset:gists->tool:list_gists", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:list_gists" + }, + { + "id": "toolset:gists->tool:update_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:update_gist" + }, + { + "id": "tool:update_gist->scope:gist", + "kind": "requires", + "from": "tool:update_gist", + "to": "scope:gist" + }, + { + "id": "toolset:git->tool:get_repository_tree", + "kind": "contains", + "from": "toolset:git", + "to": "tool:get_repository_tree" + }, + { + "id": "tool:get_repository_tree->scope:repo", + "kind": "requires", + "from": "tool:get_repository_tree", + "to": "scope:repo" + }, + { + "id": "toolset:governance->tool:create_repository_ruleset", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:create_repository_ruleset" + }, + { + "id": "tool:create_repository_ruleset->scope:repo", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:repo" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:org", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:org" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:enterprise", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_read" + }, + { + "id": "tool:custom_properties_read->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_read->scope:read:org", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:org" + }, + { + "id": "tool:custom_properties_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_write", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_write" + }, + { + "id": "tool:custom_properties_write->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_write->scope:admin:org", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:org" + }, + { + "id": "tool:custom_properties_write->scope:admin:enterprise", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:repository_ruleset_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:repository_ruleset_read" + }, + { + "id": "tool:repository_ruleset_read->scope:repo", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:repo" + }, + { + "id": "tool:repository_ruleset_read->scope:read:org", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:org" + }, + { + "id": "tool:repository_ruleset_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:issues->tool:add_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment" + }, + { + "id": "tool:add_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment_reaction" + }, + { + "id": "tool:add_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_reaction" + }, + { + "id": "tool:add_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_sub_issue" + }, + { + "id": "tool:add_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:add_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:create_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:create_issue" + }, + { + "id": "tool:create_issue->scope:repo", + "kind": "requires", + "from": "tool:create_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:find_duplicate", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:find_duplicate" + }, + { + "id": "tool:find_duplicate->scope:repo", + "kind": "requires", + "from": "tool:find_duplicate", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:get_label", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:get_label" + }, + { + "id": "tool:get_label->scope:repo", + "kind": "requires", + "from": "tool:get_label", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:hide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:hide_issue_comment" + }, + { + "id": "tool:hide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_read" + }, + { + "id": "tool:issue_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_write" + }, + { + "id": "tool:issue_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_read" + }, + { + "id": "tool:issue_dependency_read->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_write" + }, + { + "id": "tool:issue_dependency_write->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_read" + }, + { + "id": "tool:issue_read->scope:repo", + "kind": "requires", + "from": "tool:issue_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_write" + }, + { + "id": "tool:issue_write->scope:repo", + "kind": "requires", + "from": "tool:issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:list_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_fields" + }, + { + "id": "tool:list_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_fields->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issue_types", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_types" + }, + { + "id": "tool:list_issue_types->scope:repo", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_types->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issues" + }, + { + "id": "tool:list_issues->scope:repo", + "kind": "requires", + "from": "tool:list_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_comment_reaction" + }, + { + "id": "tool:remove_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_reaction" + }, + { + "id": "tool:remove_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_sub_issue" + }, + { + "id": "tool:remove_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:remove_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:reprioritize_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:reprioritize_sub_issue" + }, + { + "id": "tool:reprioritize_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:reprioritize_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:search_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:search_issues" + }, + { + "id": "tool:search_issues->scope:repo", + "kind": "requires", + "from": "tool:search_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:set_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:set_issue_fields" + }, + { + "id": "tool:set_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:set_issue_fields", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:sub_issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:sub_issue_write" + }, + { + "id": "tool:sub_issue_write->scope:repo", + "kind": "requires", + "from": "tool:sub_issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:unhide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:unhide_issue_comment" + }, + { + "id": "tool:unhide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_assignees", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_assignees" + }, + { + "id": "tool:update_issue_assignees->scope:repo", + "kind": "requires", + "from": "tool:update_issue_assignees", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_body", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_body" + }, + { + "id": "tool:update_issue_body->scope:repo", + "kind": "requires", + "from": "tool:update_issue_body", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_comment" + }, + { + "id": "tool:update_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:update_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_labels", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_labels" + }, + { + "id": "tool:update_issue_labels->scope:repo", + "kind": "requires", + "from": "tool:update_issue_labels", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_milestone", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_milestone" + }, + { + "id": "tool:update_issue_milestone->scope:repo", + "kind": "requires", + "from": "tool:update_issue_milestone", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_state", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_state" + }, + { + "id": "tool:update_issue_state->scope:repo", + "kind": "requires", + "from": "tool:update_issue_state", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_title", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_title" + }, + { + "id": "tool:update_issue_title->scope:repo", + "kind": "requires", + "from": "tool:update_issue_title", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_type", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_type" + }, + { + "id": "tool:update_issue_type->scope:repo", + "kind": "requires", + "from": "tool:update_issue_type", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:get_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:get_label" + }, + { + "id": "toolset:labels->tool:label_write", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:label_write" + }, + { + "id": "tool:label_write->scope:repo", + "kind": "requires", + "from": "tool:label_write", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:list_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:list_label" + }, + { + "id": "tool:list_label->scope:repo", + "kind": "requires", + "from": "tool:list_label", + "to": "scope:repo" + }, + { + "id": "toolset:notifications->tool:dismiss_notification", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:dismiss_notification" + }, + { + "id": "tool:dismiss_notification->scope:notifications", + "kind": "requires", + "from": "tool:dismiss_notification", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:get_notification_details", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:get_notification_details" + }, + { + "id": "tool:get_notification_details->scope:notifications", + "kind": "requires", + "from": "tool:get_notification_details", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:list_notifications", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:list_notifications" + }, + { + "id": "tool:list_notifications->scope:notifications", + "kind": "requires", + "from": "tool:list_notifications", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" + }, + { + "id": "tool:manage_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_repository_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" + }, + { + "id": "tool:manage_repository_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:mark_all_notifications_read", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" + }, + { + "id": "tool:mark_all_notifications_read->scope:notifications", + "kind": "requires", + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" + }, + { + "id": "toolset:orgs->tool:search_orgs", + "kind": "contains", + "from": "toolset:orgs", + "to": "tool:search_orgs" + }, + { + "id": "tool:search_orgs->scope:read:org", + "kind": "requires", + "from": "tool:search_orgs", + "to": "scope:read:org" + }, + { + "id": "toolset:projects->tool:projects_get", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_get" + }, + { + "id": "tool:projects_get->scope:read:project", + "kind": "requires", + "from": "tool:projects_get", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_list", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_list" + }, + { + "id": "tool:projects_list->scope:read:project", + "kind": "requires", + "from": "tool:projects_list", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_write", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_write" + }, + { + "id": "tool:projects_write->scope:project", + "kind": "requires", + "from": "tool:projects_write", + "to": "scope:project" + }, + { + "id": "toolset:pull_requests->tool:add_comment_to_pending_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_comment_to_pending_review" + }, + { + "id": "tool:add_comment_to_pending_review->scope:repo", + "kind": "requires", + "from": "tool:add_comment_to_pending_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment" + }, + { + "id": "tool:add_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment_reaction" + }, + { + "id": "tool:add_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_reply_to_pull_request_comment" + }, + { + "id": "tool:add_reply_to_pull_request_comment->scope:repo", + "kind": "requires", + "from": "tool:add_reply_to_pull_request_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request" + }, + { + "id": "tool:create_pull_request->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request_review" + }, + { + "id": "tool:create_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:delete_pending_pull_request_review" + }, + { + "id": "tool:delete_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:delete_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review" + }, + { + "id": "tool:hide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review_comment" + }, + { + "id": "tool:hide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:list_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:list_pull_requests" + }, + { + "id": "tool:list_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:list_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:merge_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:merge_pull_request" + }, + { + "id": "tool:merge_pull_request->scope:repo", + "kind": "requires", + "from": "tool:merge_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_read" + }, + { + "id": "tool:pull_request_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_write" + }, + { + "id": "tool:pull_request_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_read" + }, + { + "id": "tool:pull_request_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_review_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_review_write" + }, + { + "id": "tool:pull_request_review_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_review_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:remove_pull_request_review_comment_reaction" + }, + { + "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:request_pull_request_reviewers", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:request_pull_request_reviewers" + }, + { + "id": "tool:request_pull_request_reviewers->scope:repo", + "kind": "requires", + "from": "tool:request_pull_request_reviewers", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:resolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:resolve_review_thread" + }, + { + "id": "tool:resolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:resolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:search_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:search_pull_requests" + }, + { + "id": "tool:search_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:search_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:submit_pending_pull_request_review" + }, + { + "id": "tool:submit_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:submit_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review" + }, + { + "id": "tool:unhide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review_comment" + }, + { + "id": "tool:unhide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unresolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unresolve_review_thread" + }, + { + "id": "tool:unresolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:unresolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request" + }, + { + "id": "tool:update_pull_request->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_body", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_body" + }, + { + "id": "tool:update_pull_request_body->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_body", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_branch", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_branch" + }, + { + "id": "tool:update_pull_request_branch->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_branch", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_draft_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_draft_state" + }, + { + "id": "tool:update_pull_request_draft_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_draft_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_state" + }, + { + "id": "tool:update_pull_request_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_title", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_title" + }, + { + "id": "tool:update_pull_request_title->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_title", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_branch", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_branch" + }, + { + "id": "tool:create_branch->scope:repo", + "kind": "requires", + "from": "tool:create_branch", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_or_update_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_or_update_file" + }, + { + "id": "tool:create_or_update_file->scope:repo", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:repo" + }, + { + "id": "tool:create_or_update_file->scope:workflow", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:create_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_repository" + }, + { + "id": "tool:create_repository->scope:repo", + "kind": "requires", + "from": "tool:create_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:delete_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_file" + }, + { + "id": "tool:delete_file->scope:repo", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:repo" + }, + { + "id": "tool:delete_file->scope:workflow", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:delete_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_repository" + }, + { + "id": "tool:delete_repository->scope:delete_repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:delete_repo" + }, + { + "id": "tool:delete_repository->scope:repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:fork_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:fork_repository" + }, + { + "id": "tool:fork_repository->scope:repo", + "kind": "requires", + "from": "tool:fork_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_commit", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_commit" + }, + { + "id": "tool:get_commit->scope:repo", + "kind": "requires", + "from": "tool:get_commit", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_blame", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_blame" + }, + { + "id": "tool:get_file_blame->scope:repo", + "kind": "requires", + "from": "tool:get_file_blame", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_contents", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_contents" + }, + { + "id": "tool:get_file_contents->scope:repo", + "kind": "requires", + "from": "tool:get_file_contents", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_latest_release", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_latest_release" + }, + { + "id": "tool:get_latest_release->scope:repo", + "kind": "requires", + "from": "tool:get_latest_release", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_release_by_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_release_by_tag" + }, + { + "id": "tool:get_release_by_tag->scope:repo", + "kind": "requires", + "from": "tool:get_release_by_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_tag" + }, + { + "id": "tool:get_tag->scope:repo", + "kind": "requires", + "from": "tool:get_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_branches", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_branches" + }, + { + "id": "tool:list_branches->scope:repo", + "kind": "requires", + "from": "tool:list_branches", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_commits" + }, + { + "id": "tool:list_commits->scope:repo", + "kind": "requires", + "from": "tool:list_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_releases", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_releases" + }, + { + "id": "tool:list_releases->scope:repo", + "kind": "requires", + "from": "tool:list_releases", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_repository_collaborators", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_repository_collaborators" + }, + { + "id": "tool:list_repository_collaborators->scope:repo", + "kind": "requires", + "from": "tool:list_repository_collaborators", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_tags", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_tags" + }, + { + "id": "tool:list_tags->scope:repo", + "kind": "requires", + "from": "tool:list_tags", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:push_files", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:push_files" + }, + { + "id": "tool:push_files->scope:repo", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:repo" + }, + { + "id": "tool:push_files->scope:workflow", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:search_code", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_code" + }, + { + "id": "tool:search_code->scope:repo", + "kind": "requires", + "from": "tool:search_code", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_commits" + }, + { + "id": "tool:search_commits->scope:repo", + "kind": "requires", + "from": "tool:search_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_repositories", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_repositories" + }, + { + "id": "tool:search_repositories->scope:repo", + "kind": "requires", + "from": "tool:search_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:secret_protection->tool:get_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:get_secret_scanning_alert" + }, + { + "id": "tool:get_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:list_secret_scanning_alerts" + }, + { + "id": "tool:list_secret_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_secret_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:update_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:update_secret_scanning_alert" + }, + { + "id": "tool:update_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:get_global_security_advisory", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:get_global_security_advisory" + }, + { + "id": "tool:get_global_security_advisory->scope:security_events", + "kind": "requires", + "from": "tool:get_global_security_advisory", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_global_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_global_security_advisories" + }, + { + "id": "tool:list_global_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_global_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_org_repository_security_advisories" + }, + { + "id": "tool:list_org_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_org_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_repository_security_advisories" + }, + { + "id": "tool:list_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:stargazers->tool:list_starred_repositories", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:list_starred_repositories" + }, + { + "id": "tool:list_starred_repositories->scope:repo", + "kind": "requires", + "from": "tool:list_starred_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:star_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:star_repository" + }, + { + "id": "tool:star_repository->scope:repo", + "kind": "requires", + "from": "tool:star_repository", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:unstar_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:unstar_repository" + }, + { + "id": "tool:unstar_repository->scope:repo", + "kind": "requires", + "from": "tool:unstar_repository", + "to": "scope:repo" + }, + { + "id": "toolset:users->tool:search_users", + "kind": "contains", + "from": "toolset:users", + "to": "tool:search_users" + }, + { + "id": "tool:search_users->scope:repo", + "kind": "requires", + "from": "tool:search_users", + "to": "scope:repo" + } + ] +} diff --git a/packages/renderers/graph/scenarios.json b/packages/renderers/graph/scenarios.json index 08e089be1..e35ad12b8 100644 --- a/packages/renderers/graph/scenarios.json +++ b/packages/renderers/graph/scenarios.json @@ -1758,7 +1758,7 @@ { "id": "mcp-tools", "title": "MCP tools, toolsets and OAuth scopes", - "description": "A toolset arrives with 11 tools, every one requiring the repo scope, among about 140 unchanged tools: each toolset's tools that share their scopes wrap into a block, whose routes run as one.", + "description": "A toolset arrives with 11 tools, every one requiring the repo scope, among eight unchanged toolsets of the GitHub MCP Server: each toolset's tools that share their scopes wrap into a block, whose routes run as one.", "renderer": "graph", "before": "fixtures/mcp-tools-before.json", "after": "fixtures/mcp-tools-after.json" diff --git a/packages/renderers/harness/browser/arrowheads.spec.ts b/packages/renderers/harness/browser/arrowheads.spec.ts index 9eaa85d33..f9c1c3566 100644 --- a/packages/renderers/harness/browser/arrowheads.spec.ts +++ b/packages/renderers/harness/browser/arrowheads.spec.ts @@ -13,32 +13,38 @@ import {scenarios} from './scenarios.js' * and After of the progress modes and in diff mode's union (whose changed * cards draw a strong change edge), at device pixel ratios 1 and 2. */ -const drawing = ['graph', 'dependency-injection', 'database'] +const drawing = new Set(['graph', 'dependency-injection', 'database']) +/** Every arrowhead those renderers draw, whether or not `arrowContacts` can judge it. */ +const heads = '.graph-link-head path.graph-arrowhead, [data-to-id] path[marker-end], path.database-arrowhead[data-head-of-link]' +// One test per scenario, so each has its own time: a large graph never takes another scenario's. for (const scale of [1, 2]) { test.describe(`at a device pixel ratio of ${scale}`, () => { test.use({deviceScaleFactor: scale}) - for (const directory of drawing) { - test(`${directory}: arrowheads touch their card's border without covering it, animated and in diff mode`, async ({page}) => { + for (const {key} of scenarios.filter(item => drawing.has(item.directory) && !item.customComparator)) { + test(`${key}: arrowheads touch their card's border without covering it, animated and in diff mode`, async ({page}) => { test.slow() const inspector = harnessInspector() let measured = 0 - for (const {key} of scenarios.filter(item => item.directory === directory && !item.customComparator)) { - const stage = await openStage(page, inspector, {scenario: key, progress: 0, comparisonMode: 'animated'}) - for (const progress of [0, 0.5, 1]) { - await stage.seek(progress) - const contacts = await stage.frame.locator('.pk').evaluate(arrowContacts) - measured += contacts.length - expect(contactIssues(contacts), `${key} at ${progress}`).toEqual([]) - } - const diff = await openStage(page, inspector, {scenario: key, comparisonMode: 'diff'}) - if ((await diff.state()).comparisonMode !== 'diff') continue - await diff.measure('settle') - const contacts = await diff.frame.locator('.pk').evaluate(arrowContacts) + const stage = await openStage(page, inspector, {scenario: key, progress: 0, comparisonMode: 'animated'}) + for (const progress of [0, 0.5, 1]) { + await stage.seek(progress) + const contacts = await stage.frame.locator('.pk').evaluate(arrowContacts) measured += contacts.length - expect(contactIssues(contacts), `${key} in diff mode`).toEqual([]) + expect(contactIssues(contacts), `${key} at ${progress}`).toEqual([]) + } + // Nothing measured is right only where nothing draws an arrowhead. + if (!measured) { + expect(await stage.frame.locator(heads).count(), `${key}: arrowheads drawn but not measured`).toBe(0) + } + const diff = await openStage(page, inspector, {scenario: key, comparisonMode: 'diff'}) + if ((await diff.state()).comparisonMode !== 'diff') return + await diff.measure('settle') + const contacts = await diff.frame.locator('.pk').evaluate(arrowContacts) + expect(contactIssues(contacts), `${key} in diff mode`).toEqual([]) + if (!contacts.length) { + expect(await diff.frame.locator(heads).count(), `${key} in diff mode: arrowheads drawn but not measured`).toBe(0) } - expect(measured, 'arrowheads measured').toBeGreaterThan(0) }) } }) diff --git a/packages/renderers/kit/styles/graph.css b/packages/renderers/kit/styles/graph.css index fb533a571..e1bd1dc33 100644 --- a/packages/renderers/kit/styles/graph.css +++ b/packages/renderers/kit/styles/graph.css @@ -124,12 +124,13 @@ stroke: var(--violet-border); } /* - * A sibling block's tray (see `GraphLayout.blocks`): an inset well under its cards, ruled like the stage's other - * structure, that its shared relationships enter and leave. Its caption reads like the summary bar: a count, then each - * emphasized change's count in its hue. + * A sibling block's tray (see `GraphLayout.blocks`): a well under its cards, ruled like the stage's other structure, + * that its shared relationships enter and leave. It is filled with the stage itself, so it reads by its edge and by + * covering the dot grid, and the stage stays the stage wherever a tray reaches the frame's side. Its caption reads like + * the summary bar: a count, then each emphasized change's count in its hue. */ .graph-block-tray { - fill: var(--inset); + fill: var(--stage); stroke: var(--divider); stroke-width: var(--stroke); rx: var(--projections-radius-lg); diff --git a/packages/renderers/kit/test/performance.test.mjs b/packages/renderers/kit/test/performance.test.mjs index cf7209bde..8fdab077e 100644 --- a/packages/renderers/kit/test/performance.test.mjs +++ b/packages/renderers/kit/test/performance.test.mjs @@ -167,7 +167,7 @@ test('a first try that must grow to the widest gap stops routing, and the layout * (see `GraphLayout.blocks`), each toolset's tools send one route into it. */ test('a hub most cards route into lays out within its budget once their fan-outs wrap into blocks', async () => { - const tools = JSON.parse(await readFile(new URL('graph/fixtures/mcp-tools-after.json', renderers), 'utf8')) + const tools = JSON.parse(await readFile(new URL('graph/fixtures/mcp-tools-full-after.json', renderers), 'utf8')) const before = {...crossingWork} const layout = await layoutGraph(await sizedNodes(tools.entities), tools.relationships, {}) const compared = crossingWork.compared - before.compared