# Class StdioServerParameters.Builder

java.lang.Object
com.google.adk.tools.mcp.StdioServerParameters.Builder

Enclosing class:
  `StdioServerParameters`

public abstract static class StdioServerParameters.Builder extends Object
Builder for `StdioServerParameters`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract StdioServerParameters.Builder`
  `args(@Nullable List<String> args)`
  Sets the arguments for the command.
  `abstract StdioServerParameters`
  `build()`
  Builds a new `StdioServerParameters` instance.
  `abstract StdioServerParameters.Builder`
  `command(String command)`
  Sets the command to execute for the stdio server.
  `abstract StdioServerParameters.Builder`
  `env(@Nullable Map<String,String> env)`
  Sets the environment variables.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### command

    public abstract StdioServerParameters.Builder command(String command)
    Sets the command to execute for the stdio server.

  - ### args

    public abstract StdioServerParameters.Builder args(@Nullable List<String> args)
    Sets the arguments for the command.

  - ### env

    public abstract StdioServerParameters.Builder env(@Nullable Map<String,String> env)
    Sets the environment variables.

  - ### build

    public abstract StdioServerParameters build()
    Builds a new `StdioServerParameters` instance.