arguments
Sets tool arguments directly from a JsonObject.
Example:
arguments(buildJsonObject {
put("query", "users")
})Content copied to clipboard
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)
}Content copied to clipboard
Parameters
block
Lambda for building the arguments JsonObject