[**agentfootprint**](../README.md)

***

[agentfootprint](/agentfootprint/api/generated/README.md) / defineInstruction

# Function: defineInstruction()

> **defineInstruction**(`opts`): [`Injection`](/agentfootprint/api/generated/interfaces/Injection.md)

Defined in: [src/lib/injection-engine/factories/defineInstruction.ts:82](https://github.com/footprintjs/agentfootprint/blob/d1cb45510740421f2b84b6de9f852a72e94bb106/src/lib/injection-engine/factories/defineInstruction.ts#L82)

## Parameters

### opts

[`DefineInstructionOptions`](/agentfootprint/api/generated/interfaces/DefineInstructionOptions.md)

## Returns

[`Injection`](/agentfootprint/api/generated/interfaces/Injection.md)
