MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / toolPipeCallMaths

Function toolPipeCallMaths

examples/nextjs/baseai/tools/pipe-call-maths.ts:13–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11};
12
13const toolPipeCallMaths = () => ({
14 run: runPipeWithMaths,
15 type: 'function',
16 function: {
17 name: 'runPipeWithMaths',
18 description: `Call a pipe that can do maths and tell weather from different tools.`,
19 parameters: {
20 type: 'object',
21 required: ['prompt'],
22 properties: {
23 prompt: {
24 type: 'string',
25 description: 'User input to do maths or to get weather.',
26 },
27 },
28 },
29 },
30});
31
32export default toolPipeCallMaths;

Callers 1

pipeWithPipeAsToolFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected