naftiko: 1.0.0-alpha2 info: label: Runloop Blueprints (blueprint) description: Runloop blueprints capability covering one Runloop business surface. 12 operations. tags: - Runloop - Blueprints - AI Agents - Sandboxes created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: RUNLOOP_API_KEY: RUNLOOP_API_KEY capability: consumes: - type: http namespace: blueprint-blueprints baseUri: https://api.runloop.ai description: Runloop blueprints business capability. Self-contained, no shared references. resources: - name: v1-blueprints path: /v1/blueprints operations: - name: createBlueprint method: POST description: Create and build a Blueprint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listImages method: GET description: List Blueprints. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Filter by name required: false - name: status in: query type: string description: Filter by build status (queued, provisioning, building, failed, build_complete) required: false - name: limit in: query type: integer description: The limit of items to return. Default is 20. Max is 5000. required: false - name: starting_after in: query type: string description: Load the next page of data starting after the item with the given ID. required: false - name: include_total_count in: query type: boolean description: If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets. required: false - name: v1-blueprints-create-from-inspection path: /v1/blueprints/create_from_inspection operations: - name: createBlueprintFromInspection method: POST description: Create and build a Blueprint from a RepositoryConnection Inspection. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v1-blueprints-list-public path: /v1/blueprints/list_public operations: - name: listPublicBlueprints method: GET description: List Public Blueprints. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Filter by name required: false - name: status in: query type: string description: Filter by build status (queued, provisioning, building, failed, build_complete) required: false - name: limit in: query type: integer description: The limit of items to return. Default is 20. Max is 5000. required: false - name: starting_after in: query type: string description: Load the next page of data starting after the item with the given ID. required: false - name: include_total_count in: query type: boolean description: If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets. required: false - name: v1-blueprints-metadata-keys path: /v1/blueprints/metadata/keys operations: - name: getBlueprintMetadataKeys method: GET description: List available blueprint metadata keys. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: _ in: query type: string description: '' required: false - name: v1-blueprints-metadata-keys-key-values path: /v1/blueprints/metadata/keys/{key}/values operations: - name: getBlueprintMetadataValues method: GET description: List values for a specific blueprint metadata key. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: key in: path type: string description: The metadata key to get values for. required: true - name: v1-blueprints-preview path: /v1/blueprints/preview operations: - name: previewImage method: POST description: Preview Dockerfile definition for a Blueprint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v1-blueprints-public-metadata-keys path: /v1/blueprints/public/metadata/keys operations: - name: getPublicBlueprintMetadataKeys method: GET description: List available public blueprint metadata keys. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: _ in: query type: string description: '' required: false - name: v1-blueprints-public-metadata-keys-key-values path: /v1/blueprints/public/metadata/keys/{key}/values operations: - name: getPublicBlueprintMetadataValues method: GET description: List values for a specific public blueprint metadata key. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: key in: path type: string description: The metadata key to get values for from public blueprints. required: true - name: v1-blueprints-id path: /v1/blueprints/{id} operations: - name: getBlueprint method: GET description: Get a Blueprint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the Blueprint required: true - name: v1-blueprints-id-delete path: /v1/blueprints/{id}/delete operations: - name: deleteBlueprint method: POST description: Delete a Blueprint. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the Blueprint required: true - name: v1-blueprints-id-logs path: /v1/blueprints/{id}/logs operations: - name: blueprintLogs method: GET description: Get Blueprint build logs. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the Blueprint required: true authentication: type: bearer value: '{{env.RUNLOOP_API_KEY}}' placement: header exposes: - type: rest namespace: blueprint-blueprints-rest port: 8080 description: REST adapter for Runloop blueprints. One Spectral-compliant resource per consumed operation. resources: - path: /v1/blueprints name: v1-blueprints description: REST surface for v1-blueprints. operations: - method: POST name: createBlueprint description: Create and build a Blueprint. call: blueprint-blueprints.createBlueprint with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listImages description: List Blueprints. call: blueprint-blueprints.listImages with: name: rest.params.name status: rest.params.status limit: rest.params.limit starting_after: rest.params.starting_after include_total_count: rest.params.include_total_count outputParameters: - type: object mapping: $. - path: /v1/blueprints/create_from_inspection name: v1-blueprints-create-from-inspection description: REST surface for v1-blueprints-create-from-inspection. operations: - method: POST name: createBlueprintFromInspection description: Create and build a Blueprint from a RepositoryConnection Inspection. call: blueprint-blueprints.createBlueprintFromInspection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/blueprints/list_public name: v1-blueprints-list-public description: REST surface for v1-blueprints-list-public. operations: - method: GET name: listPublicBlueprints description: List Public Blueprints. call: blueprint-blueprints.listPublicBlueprints with: name: rest.params.name status: rest.params.status limit: rest.params.limit starting_after: rest.params.starting_after include_total_count: rest.params.include_total_count outputParameters: - type: object mapping: $. - path: /v1/blueprints/metadata/keys name: v1-blueprints-metadata-keys description: REST surface for v1-blueprints-metadata-keys. operations: - method: GET name: getBlueprintMetadataKeys description: List available blueprint metadata keys. call: blueprint-blueprints.getBlueprintMetadataKeys with: _: rest.params._ outputParameters: - type: object mapping: $. - path: /v1/blueprints/metadata/keys/{key}/values name: v1-blueprints-metadata-keys-key-values description: REST surface for v1-blueprints-metadata-keys-key-values. operations: - method: GET name: getBlueprintMetadataValues description: List values for a specific blueprint metadata key. call: blueprint-blueprints.getBlueprintMetadataValues with: key: rest.params.key outputParameters: - type: object mapping: $. - path: /v1/blueprints/preview name: v1-blueprints-preview description: REST surface for v1-blueprints-preview. operations: - method: POST name: previewImage description: Preview Dockerfile definition for a Blueprint. call: blueprint-blueprints.previewImage with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/blueprints/public/metadata/keys name: v1-blueprints-public-metadata-keys description: REST surface for v1-blueprints-public-metadata-keys. operations: - method: GET name: getPublicBlueprintMetadataKeys description: List available public blueprint metadata keys. call: blueprint-blueprints.getPublicBlueprintMetadataKeys with: _: rest.params._ outputParameters: - type: object mapping: $. - path: /v1/blueprints/public/metadata/keys/{key}/values name: v1-blueprints-public-metadata-keys-key-values description: REST surface for v1-blueprints-public-metadata-keys-key-values. operations: - method: GET name: getPublicBlueprintMetadataValues description: List values for a specific public blueprint metadata key. call: blueprint-blueprints.getPublicBlueprintMetadataValues with: key: rest.params.key outputParameters: - type: object mapping: $. - path: /v1/blueprints/{id} name: v1-blueprints-id description: REST surface for v1-blueprints-id. operations: - method: GET name: getBlueprint description: Get a Blueprint. call: blueprint-blueprints.getBlueprint with: id: rest.params.id outputParameters: - type: object mapping: $. - path: /v1/blueprints/{id}/delete name: v1-blueprints-id-delete description: REST surface for v1-blueprints-id-delete. operations: - method: POST name: deleteBlueprint description: Delete a Blueprint. call: blueprint-blueprints.deleteBlueprint with: id: rest.params.id outputParameters: - type: object mapping: $. - path: /v1/blueprints/{id}/logs name: v1-blueprints-id-logs description: REST surface for v1-blueprints-id-logs. operations: - method: GET name: blueprintLogs description: Get Blueprint build logs. call: blueprint-blueprints.blueprintLogs with: id: rest.params.id outputParameters: - type: object mapping: $. - type: mcp namespace: blueprint-blueprints-mcp port: 9090 transport: http description: MCP adapter for Runloop blueprints. One tool per consumed operation. tools: - name: runloop-blueprint-blueprints-createBlueprint description: Create and build a Blueprint. hints: readOnly: false destructive: false idempotent: false call: blueprint-blueprints.createBlueprint with: body: tools.body outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-listImages description: List Blueprints. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.listImages with: name: tools.name status: tools.status limit: tools.limit starting_after: tools.starting_after include_total_count: tools.include_total_count outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-createBlueprintFromInspection description: Create and build a Blueprint from a RepositoryConnection Inspection. hints: readOnly: false destructive: false idempotent: false call: blueprint-blueprints.createBlueprintFromInspection with: body: tools.body outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-listPublicBlueprints description: List Public Blueprints. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.listPublicBlueprints with: name: tools.name status: tools.status limit: tools.limit starting_after: tools.starting_after include_total_count: tools.include_total_count outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-getBlueprintMetadataKeys description: List available blueprint metadata keys. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.getBlueprintMetadataKeys with: _: tools._ outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-getBlueprintMetadataValues description: List values for a specific blueprint metadata key. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.getBlueprintMetadataValues with: key: tools.key outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-previewImage description: Preview Dockerfile definition for a Blueprint. hints: readOnly: false destructive: false idempotent: false call: blueprint-blueprints.previewImage with: body: tools.body outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-getPublicBlueprintMetadataKeys description: List available public blueprint metadata keys. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.getPublicBlueprintMetadataKeys with: _: tools._ outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-getPublicBlueprintMetadataValue description: List values for a specific public blueprint metadata key. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.getPublicBlueprintMetadataValues with: key: tools.key outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-getBlueprint description: Get a Blueprint. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.getBlueprint with: id: tools.id outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-deleteBlueprint description: Delete a Blueprint. hints: readOnly: false destructive: false idempotent: false call: blueprint-blueprints.deleteBlueprint with: id: tools.id outputParameters: - type: object mapping: $. - name: runloop-blueprint-blueprints-blueprintLogs description: Get Blueprint build logs. hints: readOnly: true destructive: false idempotent: true call: blueprint-blueprints.blueprintLogs with: id: tools.id outputParameters: - type: object mapping: $.