Get Tool Budget • AI Agent SDK

get_tool_budget: Get token budget for a specific tool.

get_tool_budget

Method

</div>

This is a method of the ContextManager class in the manager module.

Get token budget for a specific tool.

Diagram

uses

returns

Agent

Tool: get_tool_budget

Result

Signature

python
def get_tool_budget(tool_name: str) -> int

Parameters

ParamField str

No description available.

Returns

ResponseField int

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/context/manager.py at line 715


Related Documentation