CodeModeCallMetadata
Defined in: mcp-code/src/lib/code-mode.ts:30
Per-call metadata code mode adds to params.mcp on every bridged service call, readable by
any hook (and recorded by @mantlejs/audit). All calls from one execute share executionId.
Properties
Section titled “Properties”executionId
Section titled “executionId”executionId:
string
Defined in: mcp-code/src/lib/code-mode.ts:32
mode:
"code"
Defined in: mcp-code/src/lib/code-mode.ts:31
script?
Section titled “script?”
optionalscript?:string
Defined in: mcp-code/src/lib/code-mode.ts:36
The script as submitted — only with auditScriptSource: true.
scriptHash
Section titled “scriptHash”scriptHash:
string
Defined in: mcp-code/src/lib/code-mode.ts:34
SHA-256 (hex) of the script as submitted.