Skip to content

Commit 6170fdc

Browse files
authored
Merge pull request #28417 from microsoftgraph/author-api-docs-tools
author-api-docs Update tools
2 parents 48c84f9 + 67a1e09 commit 6170fdc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/prompts/author-api-docs.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
agent: agent
33
model: Claude Sonnet 4.5 (copilot)
4-
tools: ['usages', 'problems', 'fetch', 'githubRepo', 'runCommands', 'edit/createFile', 'edit/editFiles', 'search']
4+
tools: ['usages', 'problems', 'fetch', 'githubRepo', 'runCommands', 'edit/createFile', 'edit/editFiles', 'search', 'github/*']
55
description: Author and update Microsoft Graph API reference documentation using autogenerated doc stubs
66
name: authorAPIdocs
77
---

.github/prompts/author-api-docs/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If a conflict is significant, flag it to the author in the final summary but fol
3131
Gather both values in a **single upfront step** to minimize round-trips with the author:
3232

3333
1. **Attempt auto-detection first:**
34-
- `author`: Use the GitHub login of the signed-in user
34+
- `author`: Use the `get_me` tool to get the GitHub Login of the signed-in user
3535
- `ms.subservice`: Inspect existing API/resource files being updated and use their `ms.subservice` value (exclude enum files)
3636

3737
2. **If either value cannot be inferred**, ask the author for both at once:

0 commit comments

Comments
 (0)