klyn.llm.LLMContextUsage.messageCharacters
method
public static messageCharacters(message as LLMThreadMessage) as Long
Description

Estimates message text and structured calls, including null content.

Returns

Character count; binary images are excluded.

Example

characters = LLMContextUsage.messageCharacters(message)