Gemini Tools
Gemini Count Tokens
通过 Aident Loadout 使用 Gemini Tools 的 Gemini Count Tokens。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5Aident 托管访问
服务提供商说明
Counts the number of tokens in text using Gemini tokenization. Useful for estimating costs, checking input limits, and optimizing prompts before making API calls.
价格与限制
- 价格
- 免费操作
- 统一支付
- 此免费操作无需统一支付
输入
- Text to count tokens fortextstring必填
- Model to use for token counting. Must be a model that supports the countTokens method. Use the ListModels action to see available models and their supported methods.modelstring
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。