Function: createProbe()
ts
function createProbe(
toolName,
actionKey,
input,
expectedOutput,
actualOutput,
contractContext): SemanticProbe;Defined in: packages/core/src/introspection/SemanticProbe.ts:177
Create a semantic probe from input/output pairs.
Parameters
| Parameter | Type | Description |
|---|---|---|
toolName | string | Tool name |
actionKey | string | Action key |
input | Record<string, unknown> | Input arguments |
expectedOutput | unknown | Known-good baseline output |
actualOutput | unknown | Current handler output |
contractContext | ProbeContractContext | Behavioral contract context |
Returns
A structured semantic probe