Describes the R version, operating system, and language and locale settings
for the user's system. When using btw_client() or btw_app(), this
information is automatically included in the system prompt.
See also
Other session tools:
btw_tool_session_check_package_installed(),
btw_tool_session_package_info()
Examples
btw_tool_session_platform_info()
#> <btw::BtwSessionInfoToolResult>
#> @ value : chr "<system_info>\nR_VERSION: R version 4.5.1 (2025-06-13)\nOS: Ubuntu 24.04.4 LTS\nSYSTEM: x86_64, linux-gnu\nLANG"| __truncated__
#> @ error : NULL
#> @ extra :List of 8
#> .. $ r_version:: chr "R version 4.5.1 (2025-06-13)"
#> .. $ os: : chr "Ubuntu 24.04.4 LTS"
#> .. $ system: : chr "x86_64, linux-gnu"
#> .. $ language: : chr "en"
#> .. $ locale: : chr "C"
#> .. $ encoding: : chr "C.UTF-8"
#> .. $ timezone: : chr "Etc/UTC"
#> .. $ date: : chr "Monday, March 9, 2026 (2026-03-09)"
#> .. - attr(*, "class")= chr [1:2] "platform_info" "list"
#> @ request: NULL
