Connections
Reference a connection by itsprovider/name slug:
github, slack, linear, openai, e2b, or modal. Use connection.ref for anything else, such as an MCP server or a Tilde tool server.
Secrets
A secret is a named value in Connections → Secrets. Reference it withsecret.ref, for example in a sandbox blueprint’s environment. Its value never enters your code.
When something is missing
Preflight lists every problem at once, before anything changes. Each comes with a link:- A missing connection links to its setup page, with the provider, name, and type filled in.
- A missing secret opens the Secrets page with a new row, the key filled in.
- A connection that is not ready, or offers no tool you name, is reported the same way.
tilde deploy again.
Tools
Select a connection’s tools with.tools(). On a typed ref, the tool names are a closed list from Tilde’s catalog, so a misspelt name does not compile.
ALL, or"*", selects every tool the connection offers when the apply runs..untypedTools()takes any name, and combines with.tools()in any order. Upgrade@trytilde/iacto get newer catalog names typed.- Tilde checks every name in preflight, and suggests the nearest: “did you mean
github_get_issue?”. - A tool source ends up with exactly the tools you list.
Type your own connections
tilde iac types reads your organization’s connections, including MCP servers, tool servers, and ontology environments, and writes a .d.ts. Then connection.ref("acme_mcp/prod") is typed with that connection’s real tool names.
tsconfig.json, and run the command again when a connection’s tools change.