Skip to content

Both copy text to your clipboard — Build with AI copies a setup prompt to paste into Claude Code, Cursor, Codex or Copilot; Copy page as Markdown copies this page to paste into a chat. How it works

removeProtocol()

removeProtocol(customProtocol: string): void

Defined in: src/source/protocol_crud.ts:46

Removes a previously added protocol in the main thread.

Parameters

ParameterTypeDescription
customProtocolstringthe custom protocol to remove registration for

Returns

void

Example

ts
removeProtocol('custom');