MCP cdp_profile_stop

Description

Stop an active CPU profiling capture started by cdp_profile_start and write the .cpuprofile to disk.

Response includes metadata only:

  • filePath
  • bytes
  • nodeCount
  • sampleCount
  • durationMs

Optional parameters:

  • captureId (string): Handle returned by cdp_profile_start. Stops the active capture when omitted.
  • sessionId (string): Session id returned by cdp_session_create. Uses the active session when omitted.

See also

Parameters

additionalProperties: false

NameTypeRequiredValues
captureIdstringNo
sessionIdstringNo

captureId

Handle returned by cdp_profile_start. Stops the active capture when omitted.

sessionId

Session id returned by cdp_session_create. Uses the active session when omitted.


Did this page help you?