Skip to main content

Interface: ContentOptions

Defined in: src/scan/content.ts:14

Options for constructing a Content instance. At least one field is required.

Properties

prompt?

optional prompt?: string;

Defined in: src/scan/content.ts:16

User prompt text. Max 2 MB.


response?

optional response?: string;

Defined in: src/scan/content.ts:18

AI model response text. Max 2 MB.


context?

optional context?: string;

Defined in: src/scan/content.ts:20

Conversation context. Max 100 MB.


codePrompt?

optional codePrompt?: string;

Defined in: src/scan/content.ts:22

Code prompt text. Max 2 MB.


codeResponse?

optional codeResponse?: string;

Defined in: src/scan/content.ts:24

Code response text. Max 2 MB.


toolEvent?

optional toolEvent?: objectOutputType<{
metadata: ZodOptional<ZodObject<{
ecosystem: ZodString;
method: ZodString;
server_name: ZodString;
tool_invoked: ZodOptional<ZodString>;
}, "passthrough", ZodTypeAny, objectOutputType<{
ecosystem: ZodString;
method: ZodString;
server_name: ZodString;
tool_invoked: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">, objectInputType<{
ecosystem: ZodString;
method: ZodString;
server_name: ZodString;
tool_invoked: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">>>;
input: ZodOptional<ZodString>;
output: ZodOptional<ZodString>;
}, ZodTypeAny, "passthrough">;

Defined in: src/scan/content.ts:26

Tool/function call event data.