attach_product_request_pr
Attach an existing freedom-ai GitHub PR URL to a product request and resolve it by construction (card → approved, product_status=fixed, history comment, filer resolution notify). Use when you (or a coding agent) opened a real PR for the fix — no separate human close step. [write-tier — first use ...
This record as markdown: /tools/com-getfreedomos-freedom-mcp/attach-product-request-pr.md
What attach_product_request_pr does on Freedom Mcp
AI agents use attach_product_request_pr to create or update resources in Freedom Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Freedom Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
pr_url | string | Yes | https://github.com/linnetlegacies/freedom-ai/pull/NNNN |
companyId | string | — | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
request_id | string | Yes | request_id UUID from submit_product_request |
Parameters from the server's own tool schema.
Why attach_product_request_pr is rated Medium
This tool creates or modifies data reversibly: it updates a product request card status from unresolved to approved, changes a product_status field to 'fixed', appends a history comment, and triggers a notification. These are all Write operations (create/modify with potential for reversal via manual correction).
From the tool's definition Tool description states it will 'resolve it by construction (card → approved, product_status=fixed, history comment, filer resolution notify)' — modifying product request status, adding history comments, and sending notifications.
Attacks that exploit this kind of access
The rule that runs attach_product_request_pr safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For attach_product_request_pr, this is the rule to start with:
attach_product_request_pr stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every attach_product_request_pr call is checked against it from then on.
Questions about attach_product_request_pr
Attach an existing freedom-ai GitHub PR URL to a product request and resolve it by construction (card → approved, product_status=fixed, history comment, filer resolution notify). Use when you (or a coding agent) opened a real PR for the fix — no separate human close step. [write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]. It is categorised as a Write tool in the Freedom Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
attach_product_request_pr accepts 3 parameters: pr_url, companyId, request_id. Required: pr_url, request_id. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for attach_product_request_pr: 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 Freedom Mcp. Nothing to install.
attach_product_request_pr is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the attach_product_request_pr 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.
Set action: deny in the PolicyLayer policy for attach_product_request_pr. 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.
attach_product_request_pr is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue