Skip to main content

call_arguments

Function call_arguments 

Source
pub fn call_arguments(request: &Value) -> (String, String)
Expand description

Pull CommandLine and Cwd out of a tools/call request.

Missing or non-string values fall back to "" and ".". A malformed call therefore runs an empty command in the current directory rather than panicking the server.