Update Exploratory Session
update_sessionModify an existing exploratory session by sending only changed fields, or permanently close it when the user requests; closing freezes the session and cannot be reopened through MCP.
Instructions
Modify an existing exploratory session, or close it. Closing is permanent: send updates.status="closed" only when the user asks to close the session, never as part of another edit. Send only fields you want to change inside the updates object. Requires write permission. Allowed fields: name, mission, sessionType, config, environment, releaseId, assigneeUserId, state, estimate, tags, linkedIssues. Closing works like the UI "Close session" button: it freezes the session and snaps state to the project's "Done" option; MCP cannot reopen it. Files cannot be added over MCP — tell the user to use the TestDino UI. IMPORTANT: updates.tags must be a JSON array of strings — e.g. ["exploratory","auth"] — NOT a comma-separated string.
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": {
"projectId": "<projectId>",
"sessionId": "<sessionId>",
"updates": "<updates>"
},
"name": "update_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Fields to update: name, mission, sessionType, config, environment, releaseId, assigneeUserId, state, estimate, tags, linkedIssues. status="closed" closes the session. | |
| projectId | Yes | Project ID | |
| sessionId | Yes | Internal _id or counter-style ID |