# BuildRecordFileKind

Which part of a build request a source file was sent in.

**Kind:** a string enum, used in responses.

## Values

| Value | Description |
|---|---|
| `"Agent"` | An agent's `.mtr` file. |
| `"Capsule"` | A capsule's `.mtr` file. |
| `"OpenApiConnector"` | An HTTP (OpenAPI) connector's `.mtr` file. |
| `"McpConnector"` | An MCP connector's `.mtr` file. |
| `"OpenApiExternalOperation"` | The `.mtr` file of a tool that calls an HTTP connector. |
| `"McpExternalOperation"` | The `.mtr` file of a tool that calls an MCP connector. |
| `"OneShotInteraction"` | A one-shot interaction's `.mtr` file. |
| `"RoundRobinInteraction"` | A round-robin interaction's `.mtr` file. |
| `"ManagedInteraction"` | A managed interaction's `.mtr` file. |
| `"AppMetadata"` | An app's `.mtr` settings file; the item's `name` is the app's. |
| `"AppCode"` | One of an app's `.mtc` files; the item's `name` is the app's. |
| `"CodePipeline"` | A code pipeline definition (JSON, with its folder's includes already inlined). |
| `"CodePipelineHook"` | One `.mtc` file of a code pipeline's hooks; the item's `name` is the pipeline's. |
| `"Prompt"` | A shared prompt (`resourceFiles.prompts`); no file name is sent, only the name. |
| `"Json"` | A shared JSON file (`resourceFiles.json`); no file name is sent, only the name. |
| `"Loom"` | A loom's `.mtr` (`looms/<name>.mtr`). |

New values can appear, so treat one you don't know as "something else", not as an error.

## Where it's used

- Inside [`BuildRecordItem`](https://docs.maitento.com/reference/types/build-record-item.md)
- Inside [`BuildRecordSource`](https://docs.maitento.com/reference/types/build-record-source.md)
