Rework TSL syntax, catalog, modules, and routing docs around deterministic agent lookup and generation. Split large catalog pages into focused function fact pages, remove obsolete pending/verified/unavailable paths, and update consistency tests for the new structure.
5.2 KiB
5.2 KiB
基础函数
文档类型:函数事实路由页 是否可直接用于生成代码:是;进入分类详情页后按函数事实条目生成调用 遇到不确定时:回到 ../index.md、../../syntax/index.md
这一页是基础函数的轻量入口,不直接承载全部函数事实。生成函数调用时,先按分类目录进入详情页,再只读取命中的函数条目和参数表。
模块范围
- 说明:字符串、数组、日期时间、类型转换与常用基础能力
- 函数事实数:369
智能体检索规则
- 用户只描述能力时,先按“分类目录”选择候选详情页。
- 用户给出函数名时,优先在
base/子目录中搜索三级函数标题。 - 只读取命中的函数条目、相邻分类标题和必要参数表;不要把同页其它函数混进当前调用。
- 没有命中函数事实条目时,不要发明函数名;回到 ../index.md 或项目实际代码确认。