You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In an agentic LLM workflow, every step counts towards increasing the load on the AI and its context window. Performance traces are a particularly sore point for LLMs, as only one can be active at any given time. Currently, the MCP server throws an error if attempting to start a new trace when one already exists, even if that trace was from an entirely different conversation completely unrelated to the present one.
Describe the solution you'd like
Rather than throwing an error and interrupting the thought processes of an LLM when running performance_start_trace, close any existing performance trace and include a notice that this action happened in the response given by the start tool.
I am not sure it's worth changing the behavior here. The browser can only do one trace recording at a time and discarding a currently running trace would interfere with the workflow of whoever started it. The stop trace tool can be used if this happens and the agent decides that it is fine to stop the current trace.
Activity
OrKoN commentedon Jul 9, 2026
I am not sure it's worth changing the behavior here. The browser can only do one trace recording at a time and discarding a currently running trace would interfere with the workflow of whoever started it. The stop trace tool can be used if this happens and the agent decides that it is fine to stop the current trace.