Skip to content

Function: formatMarker()

formatMarker(type, id): string

Build the exact embed marker the agent should place in prose.

Tool results return this complete value so the model copies one opaque token rather than reconstructing it from type plus id. Reconstruction is where valid-looking but never-minted UUIDs enter transcripts and produce a 404.

string

string

string