Rulebricks
Rulebricks is a decision automation platform for building, testing, publishing, and executing business rules and decision flows.
Integration
- Vendor
- Rulebricks
- Category
- developer-tools
- Auth
- API_KEY
- Tools
- 50
- Composio slug
rulebricks
Tools
- Bulk Submit Context Data
Merge a non-empty batch into a Rulebricks context and execute ready bound rules or flows. External effects and partial writes may occur; retrying after an uncertain response can repeat effects. Returns per-instance outcomes.
- Cascade Context Instance
Re-evaluate registered pending rule and flow work for a Rulebricks context instance after dependencies may have become available. Flows may invoke external actions, and retrying an uncertain request can repeat their effects.
- Count Decision Logs
Count decision logs matching asset, status, trace, payload-content, or time-range filters without returning log payloads.
- Create Asset Test
Create a saved test case for a Rulebricks rule or flow with an input, expected response, comparison policy, and criticality.
- Create Context
Create a Rulebricks context with stored and derived fields, an identity fact, retention settings, and access controls.
- Create Context Relationship
Create a has-many, has-one, or belongs-to relationship from one Rulebricks context to another.
- Create Folder
Create a folder for rule, flow, or context assets; the asset type defaults to rule.
- Create User
Create a new user directly with a password, bypassing the email invitation flow. The user can immediately log in with the provided credentials. The provider-issued API key is omitted from the response.
- Create User Group
Create a new user group in your Rulebricks organization.
- Delete Asset Testdestructive
Permanently delete one saved test case from a Rulebricks rule or flow.
- Delete Contextdestructive
Delete a Rulebricks context and all of its live instances, returning affected bindings and pending evaluations.
- Delete Context Instancedestructive
Permanently delete one Rulebricks context instance and its history, cancel its pending evaluations, and re-evaluate dependent context instances. Ready dependent rules or flows may execute; flows may invoke external actions.
- Delete Context Relationshipdestructive
Delete a specific relationship owned by a Rulebricks context.
- Delete Flowdestructive
Permanently delete one Rulebricks flow by ID.
- Delete Folderdestructive
Delete one folder by ID without deleting the assets it contains.
- Delete Objectdestructive
Delete a workspace object by ID or exact name and archive, delete, or detach its generated values.
- Delete Ruledestructive
Permanently delete one Rulebricks rule by ID.
- Delete Valuedestructive
Delete one vocabulary value by ID and replace references from other values with its content; rule or flow references and object-managed namespaces can block deletion.
- Execute Assets in Parallel
Execute multiple published Rulebricks rules or flows in parallel from one named map. Each entry is independent, so successful results are returned alongside reserved `$error` details for entries that fail. Flows may invoke external actions,
- Execute Bulk Rule
Execute one published Rulebricks rule against up to 1000 ordered input objects and return one aligned result per input. A successful call uses the organization's monthly execution allowance for each input.
- Execute Flow
Execute a published Rulebricks flow once or in bulk and return the ordered flow-defined output and execution ID for querying its decision logs. A flow may invoke external actions, and retrying an uncertain request can repeat their effects.
- Execute Rule
Execute a published Rulebricks rule with its input payload and return the rule-defined decision output. A successful execution uses the organization's monthly execution allowance.
- Export Asset Manifest
Export selected Rulebricks rules, flows, contexts, or values with their resolved dependencies, or preview the export. Provide at least one of root_ids, root_collection, root_collections, or all_values=true for value catalogs; selectors may
- Export Flow
Export one flow as a Rulebricks Flow Schema document that can be round-tripped through the flow import endpoint. Provide flow_id or flow_slug; at least one is required, and the provider accepts both together.
- Export Rule
Export one rule by ID as a raw rule document that can be round-tripped through the Rulebricks rule import endpoint.
- Get Context
Retrieve a Rulebricks context by ID, including its schema, bindings, access controls, and relationships.
- Get Context Instance
Retrieve the current base facts, derived facts, status, and selected execution or relationship data for one Rulebricks context instance.
- Get Context Instance History
Retrieve newest-first historical values for all fields or one selected field on a Rulebricks context instance.
- Get Object
Fetch one workspace object (JSON Schema) by its ID or exact name.
- Get Usage
Return the organization's current plan and monthly Rulebricks execution usage, limit, and remaining allowance.
- Import Asset Manifest
Atomically create or update rules, flows, contexts, and values from a Rulebricks manifest. Override updates conflicts in place while preserving prior versions, release pins, context records, IDs, folders, and access groups. Use PREVIEW_IMPO
- Import Flow
Create or update a flow from a Rulebricks Flow Schema document; imported flows publish by default unless publish (provider field _publish) is false.
- Import Rule
Create a rule from a complete raw rule document, or partially update an existing rule when the document includes its ID.
- Invite User
Invite a new user to the organization or update role or user group data for an existing user.
- List Asset Tests
List saved test cases for a Rulebricks rule or flow, including expected responses and latest execution state.
- List Context Relationships
List incoming and outgoing relationships configured for a Rulebricks context.
- List Contexts
List contexts visible to the connected API key, optionally filtered or paginated by the provider's opaque cursor.
- List Flows
List flows visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.
- List Folders
List asset folders visible to the connected API key, optionally filtered by user group or name.
- List Objects
List workspace objects (JSON Schemas) visible to the connected API key's user groups.
- List Pending Context Evaluations
List rule and flow evaluations registered as pending for one Rulebricks context instance, including their missing dependencies.
- List Rules
List rules visible to the connected API key, optionally selecting an exact asset version or filtering by identifier, search, folder, labels, group, or name.
- List User Groups
List all user groups available in your Rulebricks organization.
- List Users
List all users (including the admin and all team members) in the organization with their email, name, role, user groups, and join date. Provider-issued API keys are omitted from the response.
- List Values
Return one page of vocabulary values visible to the connected API key, with optional name, prefix, type, group, and usage filters.
- Preview Asset Manifest Import
Return the server-authoritative plan for importing Rulebricks rules, flows, contexts, and values without writing any assets.
- Preview Object Upsert
Validate and preview creating or updating a workspace object and synchronizing its JSON Schema enum values without writing any changes.
- Preview Value Collection Sync
Preview the created, updated, unchanged, archived, and deleted values for one complete single-request collection synchronization without writing changes.
- Query Decision Logs
Return one page of decision logs filtered by assets, status, trace, payload content, or time range. Check limited even when no next cursor is returned; a limited page does not cover all matching history.
- Replace Value Metadata
Replace or clear all custom metadata for one vocabulary value by ID without resending its value payload. The API key must have edit-values permission.
Setup
- Create or open a Switchy Project.
- Open Integrations and connect Rulebricks.
- Authorise through api_key. Switchy stores the connection against your org.
- Everyone in the Project can now @-mention the Rulebricks tools in chat.
What teammates see: by default, memories from Rulebricks are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.