naftiko: 1.0.0-alpha2 info: label: Runloop Network Policies (network-policies) description: Runloop network-policies capability covering one Runloop business surface. 5 operations. tags: - Runloop - Network-Policies - 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: network-policies-network-policies baseUri: https://api.runloop.ai description: Runloop network-policies business capability. Self-contained, no shared references. resources: - name: v1-network-policies path: /v1/network-policies operations: - name: createNetworkPolicy method: POST description: Create a NetworkPolicy. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listNetworkPolicies method: GET description: List NetworkPolicies. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: query type: string description: Filter by name (partial match supported). required: false - name: id in: query type: string description: Filter by ID. 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-network-policies-id path: /v1/network-policies/{id} operations: - name: getNetworkPolicy method: GET description: Get a NetworkPolicy. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the NetworkPolicy. required: true - name: updateNetworkPolicy method: POST description: Update a NetworkPolicy. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the NetworkPolicy to update. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-network-policies-id-delete path: /v1/network-policies/{id}/delete operations: - name: deleteNetworkPolicy method: POST description: Delete a NetworkPolicy. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The unique identifier of the NetworkPolicy to delete. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer value: '{{env.RUNLOOP_API_KEY}}' placement: header exposes: - type: rest namespace: network-policies-network-policies-rest port: 8080 description: REST adapter for Runloop network-policies. One Spectral-compliant resource per consumed operation. resources: - path: /v1/network-policies name: v1-network-policies description: REST surface for v1-network-policies. operations: - method: POST name: createNetworkPolicy description: Create a NetworkPolicy. call: network-policies-network-policies.createNetworkPolicy with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listNetworkPolicies description: List NetworkPolicies. call: network-policies-network-policies.listNetworkPolicies with: name: rest.params.name id: rest.params.id limit: rest.params.limit starting_after: rest.params.starting_after include_total_count: rest.params.include_total_count outputParameters: - type: object mapping: $. - path: /v1/network-policies/{id} name: v1-network-policies-id description: REST surface for v1-network-policies-id. operations: - method: GET name: getNetworkPolicy description: Get a NetworkPolicy. call: network-policies-network-policies.getNetworkPolicy with: id: rest.params.id outputParameters: - type: object mapping: $. - method: POST name: updateNetworkPolicy description: Update a NetworkPolicy. call: network-policies-network-policies.updateNetworkPolicy with: id: rest.params.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/network-policies/{id}/delete name: v1-network-policies-id-delete description: REST surface for v1-network-policies-id-delete. operations: - method: POST name: deleteNetworkPolicy description: Delete a NetworkPolicy. call: network-policies-network-policies.deleteNetworkPolicy with: id: rest.params.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: network-policies-network-policies-mcp port: 9090 transport: http description: MCP adapter for Runloop network-policies. One tool per consumed operation. tools: - name: runloop-network-policies-network-policies-createNetworkPolic description: Create a NetworkPolicy. hints: readOnly: false destructive: false idempotent: false call: network-policies-network-policies.createNetworkPolicy with: body: tools.body outputParameters: - type: object mapping: $. - name: runloop-network-policies-network-policies-listNetworkPolicie description: List NetworkPolicies. hints: readOnly: true destructive: false idempotent: true call: network-policies-network-policies.listNetworkPolicies with: name: tools.name id: tools.id limit: tools.limit starting_after: tools.starting_after include_total_count: tools.include_total_count outputParameters: - type: object mapping: $. - name: runloop-network-policies-network-policies-getNetworkPolicy description: Get a NetworkPolicy. hints: readOnly: true destructive: false idempotent: true call: network-policies-network-policies.getNetworkPolicy with: id: tools.id outputParameters: - type: object mapping: $. - name: runloop-network-policies-network-policies-updateNetworkPolic description: Update a NetworkPolicy. hints: readOnly: false destructive: false idempotent: false call: network-policies-network-policies.updateNetworkPolicy with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: runloop-network-policies-network-policies-deleteNetworkPolic description: Delete a NetworkPolicy. hints: readOnly: false destructive: false idempotent: false call: network-policies-network-policies.deleteNetworkPolicy with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.