- Visão geral
- Introdução aos agentes da UiPath
- Introdução aos agentes da UiPath usando o LangGraph
- Construção de um agente de pouco código no Studio Web
- Adicionando ferramentas ao seu agente UiPath
- Introdução
- Crie o fluxo de trabalho da API
- Conecte-se ao seu agente
- Testar de ponta a ponta
Execute o agente que usa a ferramenta de ponta a ponta, verifique as chamadas de API autônomas e confirme o pipeline completo do agente.
Com a ferramenta conectada e o contrato do agente atualizado, você está pronto para testar o pipeline completo.
Etapa 5 - Teste de ponta a ponta
To test the agent end-to-end, use the Debug button from the toolbar at the top of the agent builder. This opens up the Debug configuration dialog, then do the following:
- Open the Entrypoint arguments tab
- Enter a quest description from the code block below
- Then select Save & Debug to run it
The villagers report a massive creature has been destroying farms on the edge of the forest at night.
The villagers report a massive creature has been destroying farms on the edge of the forest at night.
After you click on Save & Debug, you can watch the Execution Trail at the bottom of the agent builder as it executes. The Execution Trail shows the agent's full decision process. For a tool-using agent, expect at least three events:
- The agent's initial analysis of the quest
- The tool call with the search term it chose
- The tool response with the candidate list
The agent then reasons over those candidates before producing its final output.
Você deve ver:
- O agente chama a Consulta Mon mais com um termo de pesquisa que escolheu com base na busca.
- A ferramenta retorna uma lista de candidatos.
- O agente seleciona a melhor correspondência e retorna os cinco campos de saída.
Select the HTTP Request - Open5e Monster Query span to see the request the tool actually sent: the v2/creatures/ URL, the search term the agent chose in name__icontains, and the document__key and fields values you configured in Step 1. The response below it carries the key identifier for each candidate.
Verify the output contains all five fields: monsterIndex, monsterName, monsterType, monsterCr, and monsterReasoning. monsterIndex is the API's key, so it carries the srd_ prefix - for example srd_giant-ape. The monsterReasoning field should explain why the agent chose this monster for the quest.
O que você construiu
Você criou o primeiro componente do UiPath Finder:
- Built a live API connector that searches the 5e SRD: one input, one HTTP request, one output.
- Conectou-o ao seu agente como uma ferramenta com uma única seleção no Agent Builder.
- O agente agora decide de forma autônoma quando chamar a ferramenta, o que pesquisar e qual candidato se encaixa melhor na busca.
A cadeia de raciocínio em duas etapas (seleção do termo de pesquisa e avaliação de candidatos) é exatamente o tipo de trajetória que produz um sinal de avaliação significativo; é disso que se trata o próximo laboratório.
O que vem em seguida
- Documentos da API Open5e - explore a API de pesquisa completa para entender quais campos estão disponíveis.
- UiPath Integration Service - crie ferramentas que se conectam a APIs SaaS sem escrever um fluxo de trabalho personalizado.
- UiPath Community - Fóruns, instruções e debate para desenvolvedores.