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

***

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

# Function: injectionKeyForSlot()

> **injectionKeyForSlot**(`slot`): [`InjectionKey`](/agentfootprint/api/generated/type-aliases/InjectionKey.md)

Defined in: [src/conventions.ts:327](https://github.com/footprintjs/agentfootprint/blob/d1cb45510740421f2b84b6de9f852a72e94bb106/src/conventions.ts#L327)

Map a slot to its injection scope key.

## Parameters

### slot

`"system-prompt"` \| `"messages"` \| `"tools"`

## Returns

[`InjectionKey`](/agentfootprint/api/generated/type-aliases/InjectionKey.md)
