1、自定义完成工具,并且验证通过,发布完成: <img width="517" height="252" alt="Image" src="https://github.com/user-attachments/assets/53ac9578-1d3a-4328-8841-540ef6616eb6" /> 2、在流程中使用工具: <img width="1654" height="757" alt="Image" src="https://github.com/user-attachments/assets/152019c4-7728-4e94-814c-ab216555cdd1" /> 3、报错原因我发现是too_api表中产生了好几条重复的数据,并且代码中是使用最后一条数据,然后去tool_auth表中查找tool_api_id相同的数据,为题就出在这儿,tool_auth表中最后一条id是:30011,tool_auth表中最后一条tool_api_id中的数据 是30010: <img width="1763" height="196" alt="Image" src="https://github.com/user-attachments/assets/860d156c-2ac4-4c9a-80e1-b673b34d6a86" /> <img width="1729" height="577" alt="Image" src="https://github.com/user-attachments/assets/19d6b0b8-6349-4d0c-822f-65eeacad2cf1" />
1、自定义完成工具,并且验证通过,发布完成:

2、在流程中使用工具:
3、报错原因我发现是too_api表中产生了好几条重复的数据,并且代码中是使用最后一条数据,然后去tool_auth表中查找tool_api_id相同的数据,为题就出在这儿,tool_auth表中最后一条id是:30011,tool_auth表中最后一条tool_api_id中的数据 是30010: