Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
987 B
Plaintext
20 lines
987 B
Plaintext
/**
|
|
* Result extraction functions for MCP server instrumentation
|
|
*
|
|
* Handles extraction of attributes from tool and prompt execution results.
|
|
*/
|
|
/**
|
|
* Extract tool result attributes for span instrumentation
|
|
* @param result - Tool execution result
|
|
* @param recordOutputs - Whether to include actual content or just metadata (counts, error status)
|
|
* @returns Attributes extracted from tool result content
|
|
*/
|
|
export declare function extractToolResultAttributes(result: unknown, recordOutputs: boolean): Record<string, string | number | boolean>;
|
|
/**
|
|
* Extract prompt result attributes for span instrumentation
|
|
* @param result - Prompt execution result
|
|
* @param recordOutputs - Whether to include actual content or just metadata (counts)
|
|
* @returns Attributes extracted from prompt result
|
|
*/
|
|
export declare function extractPromptResultAttributes(result: unknown, recordOutputs: boolean): Record<string, string | number | boolean>;
|
|
//# sourceMappingURL=resultExtraction.d.ts.map |