get-om-connection-form
Read a data source's connection form, as the console's Data Sources wizard shows it. Name the source by its service_type from list-om-catalog. Needs the fabric:orchestrate.read grant.
The shape of result for get-om-connection-form is not recorded here: it was not captured against a live deployment. The fields differ from one source to the next. Call it once and read what comes back rather than assuming a shape.
curl -sS -X POST https://fabric.wexa.ai/mcp/$FABRIC_PROJECT_ID \
-H "authorization: Bearer $FABRIC_API_KEY" \
-H "Mcp-Session-Id: $MCP_SESSION_ID" \
-H "content-type: application/json" -H "accept: application/json" \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get-om-connection-form","arguments":{"service_type":"Snowflake"}}}'Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
service_type | string | Required | The data source's service type from list-om-catalog, e.g. Snowflake. Must be a non-empty string. One that is not a data source Wexa can connect is refused (404); the message points at list-om-catalog. |
More details
Response fields
service_type: The source's service type.category: What to pass toconfigure-connectorascategory: the service type in lower case.fields: The form's fields. Each hasfield_id,label,type,required,is_secretand, where there is one,default_valueandoptions. A nested field has a dotted id such asauthType.password.required_fields: The ids of the required fields.secret_fields: The ids of the fields that hold secrets. Wexa masks them in its logs and in errors.defaults: What the console submits without asking: the source's hidden defaults and each field's default value.configure-connectoradds them for you.filters: The metadata filters of the "Set Default Filters" step, each with afield_idsuch asdatabaseFilterPatternand alabel.default_filter_patterns: Every filter starts empty (no includes, no excludes), which means include everything.
The answer lists the fields to fill in, which of them are required and which are secret, the defaults the console submits without asking, and the metadata filters of the wizard's "Set Default Filters" step. It is the form only, never a saved connector, so it is safe to read at any time.
Fill the form in and pass the values to configure-connector as om_connection, keyed by each field's id, and the filters you want as filters.
Only reads, so not marked consequential: it is audited lightly and is never held for approval. Reading a form needs only fabric:orchestrate.read; saving the values is configure-connector, which only an admin may call.
Every tool call works the same way: How every tool call works.