{
  "sha": "e7b6abc3a07cdc4d156075bbdd3c10723b090048",
  "environment": "Real T3 Code HTTP MCP server; Linux; fresh isolated data; synthetic requests; no provider turn",
  "document": "Updates metadata for the calling thread or any other thread in the environment.\nThe typed actions are `rename`, which requires `title`, and `regenerate_title`,\nwhich rejects one. Pull request links go through the separate\n`link_pull_request` and `unlink_pull_request` tools. Branch and workspace\nchanges are outside this tool.\n\nThe result includes the command ID and durable event sequence together with the\nresultant title, title-regeneration marker, and linked pull request. Reusing a\n`clientRequestId` for the same action and thread replays the same command\nreceipt. Thread list and read results expose the linked pull request, and thread\ndetail also exposes an in-flight title regeneration.",
  "registeredTool": {
    "name": "t3_thread_update",
    "title": "Update T3 thread metadata",
    "description": "Rename a thread (`action:'rename'` with `title`) or regenerate its title. Omit `threadId` for this thread. Workspace and branch cannot change here.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "threadId": {
          "type": "string"
        },
        "action": {
          "type": "string",
          "enum": [
            "rename",
            "regenerate_title"
          ]
        },
        "title": {
          "type": "string"
        },
        "clientRequestId": {
          "type": "string"
        },
        "environmentId": {
          "type": "string"
        }
      },
      "required": [
        "action"
      ]
    },
    "outputSchema": {
      "type": "object",
      "properties": {
        "threadId": {
          "type": "string"
        },
        "action": {
          "type": "string",
          "enum": [
            "rename",
            "regenerate_title"
          ]
        },
        "commandId": {
          "type": "string"
        },
        "sequence": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "title": {
          "type": "string"
        },
        "titleRegeneration": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "requestId": {
                  "type": "string"
                },
                "startedAt": {
                  "type": "string"
                }
              },
              "required": [
                "requestId",
                "startedAt"
              ],
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "linkedPullRequest": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "projectId": {
                  "type": "string"
                },
                "repository": {
                  "type": "string"
                },
                "number": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 9007199254740991
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "projectId",
                "repository",
                "number",
                "url"
              ],
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "updatedAt": {
          "type": "string"
        }
      },
      "required": [
        "threadId",
        "action",
        "commandId",
        "sequence",
        "title",
        "titleRegeneration",
        "linkedPullRequest",
        "updatedAt"
      ],
      "additionalProperties": true
    },
    "annotations": {
      "title": "Update T3 thread metadata",
      "readOnlyHint": false,
      "destructiveHint": true,
      "idempotentHint": false,
      "openWorldHint": true
    }
  },
  "separateTools": [
    {
      "name": "link_pull_request",
      "description": "Link a PR to this thread. T3 shows its status and settles the thread on merge. For several PRs, use `link_pull_requests`."
    },
    {
      "name": "unlink_pull_request",
      "description": "Remove a PR link from this thread. Succeeds with `wasLinked=false` when it was not linked."
    }
  ],
  "calls": [
    {
      "arguments": {
        "action": "link_pull_request"
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 3,
        "error": {
          "code": -32602,
          "message": "Invalid parameters for tool 't3_thread_update': Expected \"rename\" | \"regenerate_title\"\n  at [\"action\"]"
        }
      }
    },
    {
      "arguments": {
        "action": "unlink_pull_request"
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 4,
        "error": {
          "code": -32602,
          "message": "Invalid parameters for tool 't3_thread_update': Expected \"rename\" | \"regenerate_title\"\n  at [\"action\"]"
        }
      }
    },
    {
      "arguments": {
        "action": "rename"
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 5,
        "error": {
          "code": -32602,
          "message": "Invalid parameters for tool 't3_thread_update': rename requires title; regenerate_title does not accept one."
        }
      }
    },
    {
      "arguments": {
        "action": "regenerate_title",
        "title": "Example"
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 6,
        "error": {
          "code": -32602,
          "message": "Invalid parameters for tool 't3_thread_update': rename requires title; regenerate_title does not accept one."
        }
      }
    }
  ]
}