Commit d2901f9
committed
mcp(refactor[pipe_pane]): lead docstring with a concrete logging use case
why: 'Start or stop piping pane output to a file.' is accurate but
doesn't give the agent the hook it needs to reach for this tool.
FastMCP indexes the docstring summary for search and LLM clients feed
it into system prompts — a concrete example ('cat > /tmp/pane.log')
anchors the discoverability without changing any behavior.
what:
- Replace the flat two-line summary with 'Log a pane's live output to
a file (or stop an active log)' plus a one-sentence typical-use
hint. The semantic reframe (log, not pipe) matches how agents
think about the affordance.1 parent a680807 commit d2901f9
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
0 commit comments