[{"data":1,"prerenderedAt":199},["ShallowReactive",2],{"docs-node-tool":3},{"id":4,"title":5,"body":6,"description":17,"extension":189,"meta":190,"navigation":193,"path":194,"seo":195,"sitemap":196,"stem":197,"__hash__":198},"nodes\u002Fdocs\u002Fnodes\u002Ftool.md","Tool",{"type":7,"value":8,"toc":181},"minimark",[9,14,18,21,25,102,106,154,158],[10,11,13],"h2",{"id":12},"overview","Overview",[15,16,17],"p",{},"Allow LLM to use this Tool for their responses",[15,19,20],{},"Category: AI",[10,22,24],{"id":23},"configurable-properties","Configurable properties",[26,27,28,50],"table",{},[29,30,31],"thead",{},[32,33,34,38,41,44,47],"tr",{},[35,36,37],"th",{},"Label",[35,39,40],{},"Property",[35,42,43],{},"Type",[35,45,46],{},"Default",[35,48,49],{},"Description",[51,52,53,71,86],"tbody",{},[32,54,55,59,62,65,68],{},[56,57,58],"td",{},"Name",[56,60,61],{},"name",[56,63,64],{},"text",[56,66,67],{},"\"\"",[56,69,70],{},"The internal name of the tool. This name is used to trigger the tool use. Do not use spaces in here.",[32,72,73,75,78,81,83],{},[56,74,49],{},[56,76,77],{},"description",[56,79,80],{},"textarea",[56,82,67],{},[56,84,85],{},"The description for the tool, so that the LLM understands when and how it should be used.",[32,87,88,91,94,96,99],{},[56,89,90],{},"Parameters",[56,92,93],{},"parameters",[56,95,80],{},[56,97,98],{},"\"{}\"",[56,100,101],{},"The parameter description as JSON",[10,103,105],{"id":104},"initial-states","Initial states",[26,107,108,120],{},[29,109,110],{},[32,111,112,115,118],{},[35,113,114],{},"State",[35,116,117],{},"Initial Value",[35,119,49],{},[51,121,122,133,143],{},[32,123,124,127,130],{},[56,125,126],{},"used",[56,128,129],{},"false",[56,131,132],{},"Was this tool already used by the LLM?",[32,134,135,138,140],{},[56,136,137],{},"using",[56,139,129],{},[56,141,142],{},"Is this tool being used right now?",[32,144,145,148,151],{},[56,146,147],{},"data",[56,149,150],{},"{}",[56,152,153],{},"The return data of the last tool use.",[10,155,157],{"id":156},"callable-methods","Callable methods",[159,160,161,169,175],"ul",{},[162,163,164,168],"li",{},[165,166,167],"code",{},"reset","() - Reset the tool to its initial state",[162,170,171,174],{},[165,172,173],{},"use","() - Start using this tool",[162,176,177,180],{},[165,178,179],{},"finish","() - Finish the tool use",{"title":182,"searchDepth":183,"depth":183,"links":184},"",2,[185,186,187,188],{"id":12,"depth":183,"text":13},{"id":23,"depth":183,"text":24},{"id":104,"depth":183,"text":105},{"id":156,"depth":183,"text":157},"md",{"slug":191,"category":192,"nodeKey":191,"tutorial":182},"tool","AI",true,"\u002Fdocs\u002Fnodes\u002Ftool",{"title":5,"description":17},{"loc":194},"docs\u002Fnodes\u002Ftool","jERR4triGnEC784rDT8TKjSkWF4lPtqAuOrgX2kIz_I",1790888816174]