Package net.thevpc.naru.ext.tools.sh
Class RunShellTool
java.lang.Object
net.thevpc.naru.api.registry.DefaultNaruTool
net.thevpc.naru.ext.tools.sh.RunShellTool
- All Implemented Interfaces:
NaruTool
Runs an arbitrary shell command and returns combined stdout+stderr.
Output is capped at 8 KB to avoid flooding the model context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(NaruToolCallContext context) getDefinition(NaruTask task) getDescription(NaruTask task) Methods inherited from class net.thevpc.naru.api.registry.DefaultNaruTool
name, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thevpc.naru.api.registry.NaruTool
acceptMode, isRelevant
-
Constructor Details
-
RunShellTool
public RunShellTool()
-
-
Method Details
-
getDescription
-
getDefinition
-
execute
-