File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,16 @@ AI agent tools need to work in multiple contexts at once:
1616``` python
1717# As a library
1818from my_tool import MyTool
19- tg = MyTool()
20- tg.search(" query" )
19+ tool = MyTool()
20+ tool.search(" query" )
21+ ```
2122
23+ ``` bash
2224# As a CLI
23- $ my- tool search " query"
25+ my-tool search " query"
2426
2527# As an MCP server
26- $ my- tool serve -- source spec.json
28+ my-tool serve --source spec.json
2729```
2830
2931Getting this right requires strict architectural discipline. Without it:
@@ -66,7 +68,7 @@ toolint rules
6668
6769## Real-World Example
6870
69- Running ` toolint ` against [ graph-tool-call] ( https://github.com/SonAIengine/graph-tool-call ) (248- tool search engine, 1K+ stars worth of architecture ):
71+ Running ` toolint ` against [ graph-tool-call] ( https://github.com/SonAIengine/graph-tool-call ) (graph-based tool retrieval engine for LLM agents ):
7072
7173```
7274graph_tool_call/core/graph.py:9:4 ATL101 (error)
@@ -181,7 +183,7 @@ Or use `.toolint.toml` as a standalone config file.
181183 run : uvx toolint check .
182184` ` `
183185
184- ### Pre-commit
186+ ### Pre-commit (coming soon)
185187
186188` ` ` yaml
187189repos :
You can’t perform that action at this time.
0 commit comments