UI.tsx
tools/TeamCreateTool/UI.tsx
6
Lines
1038
Bytes
1
Exports
2
Imports
10
Keywords
What this is
This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.
Beginner explanation
This file is part of the tool layer, which means it describes actions the system can perform for the user or model.
How it is used
Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.
Expert explanation
Architecturally, this file intersects with tool-system. It contains 6 lines, 2 detected imports, and 1 detected exports.
Important relationships
- tools/TeamCreateTool/TeamCreateTool.ts
- tools/TeamCreateTool/constants.ts
- tools/TeamCreateTool/prompt.ts
- tools/AgentTool/UI.tsx
- tools/BashTool/UI.tsx
- tools/BriefTool/UI.tsx
- tools/ConfigTool/UI.tsx
- tools/EnterPlanModeTool/UI.tsx
- tools/EnterWorktreeTool/UI.tsx
- tools/ExitPlanModeTool/UI.tsx
- tools/ExitWorktreeTool/UI.tsx
- tools/FileEditTool/UI.tsx
Detected exports
renderToolUseMessage
Keywords
inputreactteamcreatetoolrendertoolusemessagepartialreactnodecreateteamteam_namesourcemappingurl
Detected imports
react./TeamCreateTool.js
Source notes
This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.
Full source
import React from 'react';
import type { Input } from './TeamCreateTool.js';
export function renderToolUseMessage(input: Partial<Input>): React.ReactNode {
return `create team: ${input.team_name}`;
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJSZWFjdCIsIklucHV0IiwicmVuZGVyVG9vbFVzZU1lc3NhZ2UiLCJpbnB1dCIsIlBhcnRpYWwiLCJSZWFjdE5vZGUiLCJ0ZWFtX25hbWUiXSwic291cmNlcyI6WyJVSS50c3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHR5cGUgeyBJbnB1dCB9IGZyb20gJy4vVGVhbUNyZWF0ZVRvb2wuanMnXG5cbmV4cG9ydCBmdW5jdGlvbiByZW5kZXJUb29sVXNlTWVzc2FnZShpbnB1dDogUGFydGlhbDxJbnB1dD4pOiBSZWFjdC5SZWFjdE5vZGUge1xuICByZXR1cm4gYGNyZWF0ZSB0ZWFtOiAke2lucHV0LnRlYW1fbmFtZX1gXG59XG4iXSwibWFwcGluZ3MiOiJBQUFBLE9BQU9BLEtBQUssTUFBTSxPQUFPO0FBQ3pCLGNBQWNDLEtBQUssUUFBUSxxQkFBcUI7QUFFaEQsT0FBTyxTQUFTQyxvQkFBb0JBLENBQUNDLEtBQUssRUFBRUMsT0FBTyxDQUFDSCxLQUFLLENBQUMsQ0FBQyxFQUFFRCxLQUFLLENBQUNLLFNBQVMsQ0FBQztFQUMzRSxPQUFPLGdCQUFnQkYsS0FBSyxDQUFDRyxTQUFTLEVBQUU7QUFDMUMiLCJpZ25vcmVMaXN0IjpbXX0=