Skip to content

Commit 7ab2e69

Browse files
committed
fix(misc): remove duplicate docs page, update clopus 4.7
1 parent 147ac89 commit 7ab2e69

File tree

5 files changed

+15
-105
lines changed

5 files changed

+15
-105
lines changed

apps/docs/content/docs/en/custom-tools/index.mdx

Lines changed: 0 additions & 100 deletions
This file was deleted.

apps/docs/content/docs/en/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"variables",
2222
"integrations",
2323
"credentials",
24-
"custom-tools",
2524
"---Platform---",
2625
"execution",
2726
"permissions",

apps/docs/content/docs/en/tools/custom-tools.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,22 @@ From **Settings → Custom Tools** you can:
145145
Deleting a custom tool removes it from all Agent blocks that reference it. Make sure no active workflows depend on the tool before deleting.
146146
</Callout>
147147

148+
## Custom Tools vs MCP Tools
149+
150+
| | **Custom Tools** | **MCP Tools** |
151+
|---|---|---|
152+
| **Defined** | Inline — schema + code in Sim | External MCP server |
153+
| **Hosting** | Runs inside Sim | Runs on your server |
154+
| **Best for** | Small, workspace-specific helpers | Shared tools, third-party services, complex integrations |
155+
| **Setup** | One modal | Deploy and register a server |
156+
148157
## Permissions
149158

150159
| Action | Required Permission |
151160
|--------|-------------------|
152161
| View custom tools | **Read**, **Write**, or **Admin** |
153162
| Create or edit tools | **Write** or **Admin** |
154-
| Delete tools | **Write** or **Admin** |
163+
| Delete tools | **Admin** |
155164

156165
<FAQ items={[
157166
{ question: "Can I use custom tools in standalone blocks (not agents)?", answer: "No. Custom tools are designed for use within Agent blocks, where the AI model decides when to call them. For deterministic tool execution, use the Function block instead." },

apps/sim/providers/anthropic/core.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {
1212
getMaxOutputTokensForModel,
1313
getThinkingCapability,
1414
supportsNativeStructuredOutputs,
15+
supportsTemperature,
1516
} from '@/providers/models'
1617
import type { ProviderRequest, ProviderResponse, TimeSegment } from '@/providers/types'
1718
import { ProviderError } from '@/providers/types'
@@ -298,7 +299,9 @@ export async function executeAnthropicProviderRequest(
298299
system: systemPrompt,
299300
max_tokens:
300301
Number.parseInt(String(request.maxTokens)) || getMaxOutputTokensForModel(request.model),
301-
temperature: Number.parseFloat(String(request.temperature ?? 0.7)),
302+
...(supportsTemperature(request.model) && {
303+
temperature: Number.parseFloat(String(request.temperature ?? 0.7)),
304+
}),
302305
}
303306

304307
if (request.responseFormat) {

apps/sim/providers/models.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,10 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
528528
updatedAt: '2026-04-16',
529529
},
530530
capabilities: {
531-
temperature: { min: 0, max: 1 },
532531
nativeStructuredOutputs: true,
533532
maxOutputTokens: 128000,
534533
thinking: {
535-
levels: ['low', 'medium', 'high', 'max'],
534+
levels: ['low', 'medium', 'high', 'xhigh', 'max'],
536535
default: 'high',
537536
},
538537
},

0 commit comments

Comments
 (0)