File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ permalink: /a2a
2020-  A2A Agent 即 Tool。即你可以将支持 A2A 的 Agent,作为类似于 MCP 中的 Tool 来使用。
2121-  A2A Debugger。即你可以通过 A2A Debugger 来调试 A2A Agent。
2222
23- ### A2A Agent as Tool  
23+ ### A2A Agent as Tool:  ` /a2a `   
2424
2525Enable the MCP server in AutoDev settings, and Config with A2A
2626
@@ -45,17 +45,34 @@ Enable the MCP server in AutoDev settings, and Config with A2A
4545
4646如下是示例的 DevIns Command:
4747
48- ``` devin 
48+ < devin > 
4949/a2a
5050``` json 
5151{
5252  "agent" : " code-reviewer" 
5353  "message" : " Please review this code for potential security vulnerabilities" 
5454}
55- \`\`\` 
56- 
55+ ``` 
5756Legacy format also supported:
5857/a2a code-reviewer "Please review this code for potential issues"
5958/a2a documentation-writer "Generate documentation for this module"
6059/a2a test-generator "Create unit tests for the PaymentService class"
61- ``` 
60+ </devin >
61+ 
62+ ### Agent Tool: ` /agents `   
63+ 
64+ List all available agents.
65+ 
66+ /agents
67+ 
68+ Invoke a specific agent with JSON format:
69+ 
70+ <devin >
71+ /agents
72+ ``` json 
73+ {
74+   "agent" : " code-reviewer" 
75+   "message" : " Please review this code for potential security vulnerabilities" 
76+ }
77+ ``` 
78+ </devin >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments