arguments

fun arguments(arguments: JsonObject)(source)

Sets tool arguments directly from a JsonObject.

Example:

arguments(buildJsonObject {
put("query", "users")
})

Sets tool arguments using a DSL builder.

This is the recommended way to provide tool arguments.

Example:

arguments {
put("query", "SELECT * FROM users")
put("limit", 100)
put("includeDeleted", false)
}

Parameters

block

Lambda for building the arguments JsonObject