fix(tool): local function support function with *args and **kwargs
Refs: #310
Co-authored-by: iamcandiceguo<guoqian14@huawei.com>
# message auto-generated for no-merge-commit merge:
!427 fix(tool): local function support function with *args and **kwargs
From: @iamcandiceguo
Reviewed-by: @alan_cheng, @yangzequ
See merge request: openJiuwen/agent-core!427