Skip to content

Commit 03dffb4

Browse files
authored
v0.8.31: search connector hardening, document parsers improvements, org view refinements
2 parents 392910b + bc6b1b2 commit 03dffb4

830 files changed

Lines changed: 105321 additions & 12869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/content/docs/agents/mcp.mdx

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@ Once MCP servers are configured, their tools become available within your agent
117117
/>
118118
</div>
119119

120-
4. Select individual tools, or choose **Use all N tools** to add every tool from that server
120+
4. Select individual tools, or choose **Configure operations access** for a dynamic server attachment
121121
5. The agent can now access these tools during execution
122122

123123
<Callout type="info">
124124
If you haven't configured a server yet, click **Add MCP Server** at the top of the dropdown to open the setup modal without leaving the block.
125125
</Callout>
126126

127-
## Standalone MCP Tool Block
127+
## Standalone MCP Block
128128

129-
For more granular control, you can use the dedicated MCP Tool block to execute specific MCP tools:
129+
Use the MCP block to discover operations or run one operation with explicit inputs:
130130

131131
<div className="flex justify-center">
132132
<Image
@@ -138,7 +138,34 @@ For more granular control, you can use the dedicated MCP Tool block to execute s
138138
/>
139139
</div>
140140

141-
The MCP Tool block runs one configured tool with parameters you set explicitly, and its output is readable by later blocks like any other.
141+
Choose an **Action**:
142+
143+
- **List operations** discovers authorized operation names, descriptions, and input schemas without executing provider operations. Filter by name or description, set a page size from 1 to 100, and pass `nextCursor` into the next request while `hasMore` is true. An authorized list can be empty.
144+
- **Run operation** executes one exact operation name. Configured operations keep their generated argument fields. For an operation name resolved at runtime, supply a JSON arguments object; Sim validates it against the operation's discovered schema before execution.
145+
146+
**MCP Server** takes one shared-server ID or managed-connection ID. Sim resolves a managed connection's parent server internally and verifies workspace and credential access. Both actions accept the same ID; List operations returns that ID as `serverId`, alongside the discovered `operations` and pagination metadata.
147+
148+
The standalone block's Basic fields select a configured connection and discovered operation. Advanced fields accept literal IDs/names or upstream references. A runtime server reference requires JSON arguments. Listing hides the operation and argument fields.
149+
150+
### Operations access
151+
152+
The **MCP Server (Advanced)** Agent attachment takes a server/connection ID or upstream reference in a plain input. Its **Tool IDs** field accepts exact MCP tool names, such as `search_docs`, entered directly. These are the names returned by List operations, without a Sim server prefix. Neither field uses a server or operation catalog picker.
153+
154+
Agent attachments have three access modes:
155+
156+
| Mode | Behavior |
157+
| --- | --- |
158+
| **Only selected** | Allows only selected exact operation names. An empty selection allows nothing. Newly discovered names stay excluded. |
159+
| **All except selected** | Denies selected exact names. An empty selection allows everything otherwise permitted. Denied names stay saved if they temporarily disappear. |
160+
| **All permitted** | Allows every operation available to the authorized credential. |
161+
162+
New restricted configurations start with an empty explicit selection. Existing saved workflows retain their prior access through normalization, while current organization and credential authorization still apply.
163+
164+
Operation restrictions are saved in workflow state on the Agent attachment. Tool IDs are literal configuration, not upstream references or model arguments. An operation must be available to the resolved, authorized connection and permitted by the saved restriction. The standalone block runs its explicitly specified operation and has no separate access policy.
165+
166+
Discovery filters the tools exposed to the Agent. Execution checks the actual server, connection, and saved restriction again before calling the provider. Missing or forbidden operations, unverifiable schemas, malformed arguments, and incorrect connection scopes fail the call. An Agent attachment with no permitted operations fails clearly.
167+
168+
Policies match exact, case-sensitive MCP tool names on whichever authorized connection resolves at runtime. They do not inspect operation arguments: allowing a generic `execute_sql` operation does not limit which SQL it can execute.
142169

143170
## When to Use MCP Tool vs Agent
144171

apps/docs/content/docs/agents/skills.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Reusable instruction packages your agents load on demand, managed f
44
---
55

66
import { Callout } from 'fumadocs-ui/components/callout'
7+
import { Image } from '@/components/ui/image'
78

89
Agent Skills are reusable packages of instructions that give your AI agents specialized capabilities. Based on the open [Agent Skills](https://agentskills.io) format, skills let you capture domain expertise, workflows, and best practices that agents can load on demand.
910

@@ -93,7 +94,7 @@ Tagging a skill loads its full instructions into the conversation, so Sim follow
9394

9495
Open any **Agent** block and find the **Skills** dropdown below the tools section. Select the skills you want the agent to have access to.
9596

96-
![Add Skill](/static/skills/add-skill.png)
97+
<Image src="/static/skills/add-skill.png" alt="Add Skill" width={756} height={428} className="mx-auto h-auto w-full max-w-sm" />
9798

9899
Selected skills appear as cards that you can click to edit or remove.
99100

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"pages": [
3+
"previewWorkflowImport",
4+
"getWorkspaceForkAvailability",
5+
"getWorkspaceForkLineage",
6+
"listWorkspaceForkChildren",
7+
"listWorkspaceForkResources",
8+
"previewWorkspaceFork",
9+
"forkWorkspace",
10+
"getWorkspaceForkMappings",
11+
"updateWorkspaceForkMappings",
12+
"previewWorkspacePush",
13+
"pushWorkspace",
14+
"previewWorkspacePull",
15+
"pullWorkspace",
16+
"rollbackWorkspaceFork",
17+
"unlinkWorkspaceFork",
18+
"updateWorkspaceForkExclusions",
19+
"listSelector",
20+
"getSelector",
21+
"getWorkspaceOperation",
22+
"listWorkspaceOperations"
23+
]
24+
}

apps/docs/content/docs/api-reference/meta.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"---Getting Started---",
66
"getting-started",
77
"authentication",
8+
"workflow-sync",
89
"---SDKs---",
910
"python",
1011
"typescript",
@@ -16,6 +17,7 @@
1617
"(generated)/files",
1718
"(generated)/knowledge-bases",
1819
"(generated)/workspaces",
20+
"(generated)/workspace-sync",
1921
"(generated)/mcp-servers",
2022
"(generated)/skills",
2123
"(generated)/custom-tools",

0 commit comments

Comments
 (0)