commits_by_author counts the commits each author made since a git ref.
Call the tool
Pass the tool’s name, asgraph tool list prints it, and set its input with --input:
Read an error
Give it a ref that doesn’t exist, and add--json to see whether the call failed:
isError is true, and result carries the command’s exit status and stderr:
isError in scripts.
Related guides
Create a tool in the workbench
Draft, test-run and save a tool with the tool drafter.
Improve what graph knows about a tool
Show drafters what a tool returns.
Test an MCP server
Check a server connects and lists its tools.