MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / BashInput

Struct BashInput

tools/builtin.go:732–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732type BashInput struct {
733 Command string `json:"command" jsonschema_description:"The shell command to execute"`
734 Timeout *int `json:"timeout,omitempty" jsonschema:"nullable,default=null" jsonschema_description:"Optional timeout in milliseconds. Numeric strings are accepted by the runtime as seconds for benchmark compatibility. Maximum 120 seconds."`
735 TimeoutSeconds any `json:"timeout_seconds,omitempty" jsonschema:"nullable,default=null" jsonschema_description:"Optional timeout in seconds. Maximum 120 seconds."`
736 Description string `json:"description,omitempty" jsonschema:"default=" jsonschema_description:"Brief activity description for UI display"`
737 RunInBackground bool `json:"run_in_background,omitempty" jsonschema:"default=false" jsonschema_description:"If True, execute asynchronously and return immediately"`
738}
739
740type RunShellInput = BashInput
741
742type BashTool struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected