Execute a user-authorized Git integration review
project_execute_reviewed_integrationExecute exactly one prepared Git integration review, decided by the calling AI without a user authorization step. Uses only the immutable SHAs and merged tree recorded at prepare time (never re-resolves branch names) and creates a NEW isolated local candidate branch agent/p7-integration-* chosen by the Host. Never moves the target branch, never checks out, never changes working files, never pushes and never deploys; remote writeback stays disabled. A wrong review_digest returns PROJECT_INTEGRATION_REVIEW_MISMATCH; replay with the same execution_request_id returns ALREADY_CONSUMED; a different execution_request_id after consumption returns PROJECT_INTEGRATION_ALREADY_CONSUMED. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"task_id": "<task_id>",
"generation": "<generation>",
"review_id": "<review_id>",
"expected_review_digest": "<expected_review_digest>"
},
"name": "project_execute_reviewed_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Own live task id that prepared the review. | |
| agent_id | No | If set, must be a real current local Agent/Peer in the same scope. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| review_id | Yes | review_id returned by project_prepare_integration_review. | |
| generation | Yes | Same fencing generation used at prepare time. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | Yes | Authorized Workspace returned by open_workspace; the Host derives its Git repository. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. | |
| execution_request_id | No | Optional idempotency key; defaults to one derived from review_id. Reuse it only to replay the same execution. | |
| expected_review_digest | Yes | review_digest returned by project_prepare_integration_review. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||