Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): cut T3's MCP tool schemas by a third and merge 18 tools into action tools #25423

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/25423/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 29 changed files with 43 additions and 36 deletions (loading 26).

x
0 of 29 viewed, 29 left
4 additions and 1 deletionapps/mobile/src/lib/threadActivity.tsModified
View file
@@ -643,7 +643,10 @@
if (item.type !== "dynamic_tool") {
return null;
- return resolveT3McpToolPresentation(item.toolName) ?? resolveT3McpToolPresentation(item.title);
+ return (
+ resolveT3McpToolPresentation(item.toolName, item.input) ??
+ resolveT3McpToolPresentation(item.title, item.input)
+ );
​
function itemSummary(
33 additions and 15 deletionsapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file
@@ -78,14 +78,39 @@
);
}),
),
- schedule_task: McpToolAccess.startsThreads(
- () => ({}),
- (input) =>
- Effect.gen(function* () {
- const scope = yield* McpInvocationContext.McpInvocationContext;
- const service = yield* OrchestratorMcpService.OrchestratorMcpService;
- return yield* service.scheduleTask(scope, input);
- }),
+ schedule_task: McpToolAccess.either(
+ (input) => input.scheduledTaskId === undefined,