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 Tools:
btw_tool_docs_package_news()
,
btw_tool_env_describe_data_frame()
,
btw_tool_env_describe_environment()
,
btw_tool_files_list_files()
,
btw_tool_files_read_text_file()
,
btw_tool_ide_read_current_editor()
,
btw_tool_package_docs
,
btw_tool_search_packages()
,
btw_tool_session_package_info()
,
btw_tools()
Examples
btw_tool_session_platform_info()
#> <btw::BtwSessionInfoToolResult>
#> @ value : chr "<system_info>\nR_VERSION: R version 4.5.0 (2025-04-11)\nOS: Ubuntu 24.04.2 LTS\nSYSTEM: x86_64, linux-gnu\nUI: "| __truncated__
#> @ error : NULL
#> @ extra :List of 9
#> .. $ r_version:: chr "R version 4.5.0 (2025-04-11)"
#> .. $ os: : chr "Ubuntu 24.04.2 LTS"
#> .. $ system: : chr "x86_64, linux-gnu"
#> .. $ ui: : chr "X11"
#> .. $ language: : chr "en"
#> .. $ locale: : chr "C"
#> .. $ encoding: : chr "C.UTF-8"
#> .. $ timezone: : chr "UTC"
#> .. $ date: : chr "Tuesday, June 3, 2025 (2025-06-03)"
#> .. - attr(*, "class")= chr [1:2] "platform_info" "list"
#> @ request: NULL