Pi.Host (pi_bridge v0.6.22)

Copy Markdown View Source

Small RPC helpers for the current host pi session.

Summary

Functions

Returns model-facing tools currently active in the host pi session.

Appends a custom entry to the active host pi session.

Returns compact metadata for the active host pi session.

Sends a custom message entry to the active host pi session.

Functions

active_tools(opts \\ [])

Returns model-facing tools currently active in the host pi session.

append_entry(custom_type, data \\ %{}, opts \\ [])

Appends a custom entry to the active host pi session.

info(opts \\ [])

Returns compact metadata for the active host pi session.

send_message(custom_type, data \\ %{}, opts \\ [])

Sends a custom message entry to the active host pi session.