name

Name of the tool which is called for this specific tool call.


public final McpServerToolResultStep.Builder name(JsonField<String> name)

Sets Builder.name to an arbitrary JSON value.

You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.