sub_issue_write

Add a sub-issue to a parent issue in a GitHub repository.

SERVERGitHub SOURCEoci:ghcr.io/github/github-mcp-server:1.3.0
Medium RISK CLASS
Category Write
Parameters 80 required
Recommended Rate-limitedsee the rule below
Registry record Grade D, identity verified Pull the record →

This record as markdown: /tools/github/sub-issue-write.md

What sub_issue_write does on GitHub

AI agents use sub_issue_write to create or update resources in GitHub, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your GitHub environment.

ParameterTypeRequiredDescription
repo string Repository name
owner string Repository owner
method string The action to perform on a single sub-issue Options are: - 'add' - add a sub-issue to a parent issue in a GitHub repository. - 'remove' - remove a sub-issue fro
after_id number The ID of the sub-issue to be prioritized after (either after_id OR before_id should be specified)
before_id number The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified)
issue_number number The number of the parent issue
sub_issue_id number The ID of the sub-issue to add. ID is not the same as issue number
replace_parent boolean When true, replaces the sub-issue's current parent issue. Use with 'add' method only.

Parameters from the server's own tool schema.

Why sub_issue_write is rated Medium

This tool creates or modifies data (adding a sub-issue link) in a reversible manner. It does not delete data (not Destructive), does not execute arbitrary code (not Execute), involves no financial transactions (not Financial), and is not a read-only operation (not Read).

From the tool's definition Tool name contains 'write' and description states 'Add a sub-issue', which creates a new data structure (sub-issue) within GitHub's issue tracking system.

Questions about sub_issue_write

What does the sub_issue_write tool do? +

Add a sub-issue to a parent issue in a GitHub repository. It is categorised as a Write tool in the GitHub MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does sub_issue_write accept? +

sub_issue_write accepts 8 parameters: repo, owner, method, after_id, before_id, issue_number, sub_issue_id, replace_parent. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on sub_issue_write? +

Register the GitHub MCP server in PolicyLayer and add a rule for sub_issue_write: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches GitHub. Nothing to install.

What risk level is sub_issue_write? +

sub_issue_write is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit sub_issue_write? +

Yes. Add a rate_limit block to the sub_issue_write rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block sub_issue_write completely? +

Set action: deny in the PolicyLayer policy for sub_issue_write. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides sub_issue_write? +

sub_issue_write is provided by the GitHub MCP server (oci:ghcr.io/github/github-mcp-server:1.3.0). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on GitHub, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of GitHub's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.