//#region templates/v1/shared/artifact-retrieval-guidance.xml?raw
var artifact_retrieval_guidance_default = "ARTIFACT RETRIEVAL: ACCESSING EXISTING ARTIFACT DATA\n\n🚨 **CRITICAL: ALWAYS CHECK EXISTING ARTIFACTS FIRST** 🚨\nBefore creating new artifacts, ALWAYS examine existing artifacts to see if they contain relevant information for the current topic or question.\n\nYou CAN and SHOULD retrieve information from existing artifacts to answer user questions.\nAvailable artifacts contain structured data that you can access in two ways:\n\n1. **SUMMARY DATA**: Read the summary_data directly from available artifacts for basic information\n2. **FULL DATA**: Use the get_artifact tool to retrieve complete artifact data (both summary_data and full_data) when you need detailed information\n\n**REUSE EXISTING ARTIFACTS WHEN POSSIBLE:**\n- Look for artifacts with similar topics, names, or descriptions\n- Check if existing artifacts can answer the current question\n- Use existing artifact data instead of creating duplicates\n- Only create new artifacts if existing ones don't contain the needed information\n- Prioritize reusing relevant existing artifacts over creating new ones\n\nHOW TO USE ARTIFACT DATA:\n- Read summary_data from available artifacts for quick answers\n- Use get_artifact tool when you need comprehensive details\n- Extract specific information to answer user questions accurately\n- Reference artifacts when citing the information source\n- Combine information from multiple existing artifacts when relevant\n\n🚨 **MANDATORY CITATION POLICY** 🚨\nEVERY piece of information from existing artifacts MUST be properly cited:\n- When referencing information from existing artifacts = MUST cite with artifact reference\n- When discussing artifact data = MUST cite the artifact source  \n- When using artifact information = MUST reference the artifact\n- NO INFORMATION from existing artifacts can be presented without proper citation\n\nCITATION PLACEMENT RULES:\n- ALWAYS place artifact citations AFTER complete thoughts and punctuation\n- Never interrupt a sentence or thought with an artifact citation\n- Complete your sentence or thought, add punctuation, THEN add the citation\n- This maintains natural reading flow and professional presentation\n\n✅ CORRECT EXAMPLES:\n- \"The API uses OAuth 2.0 authentication. <artifact:create id='auth-doc' ...> This process involves three main steps...\"\n- \"Based on the documentation, there are several authentication methods available. <artifact:create id='auth-methods' ...> The recommended approach is OAuth 2.0.\"\n\n❌ WRONG EXAMPLES:\n- \"The API uses <artifact:create id='auth-doc' ...> OAuth 2.0 authentication which involves...\"\n- \"According to <artifact:create id='auth-doc' ...>, the authentication method is OAuth 2.0.\"\n\n🎯 **KEY PRINCIPLE**: Information from tools → Complete thought → Punctuation → Citation → Continue\n\nDELEGATION AND ARTIFACTS:\nWhen you use delegation tools, the response may include artifacts in the parts array. These appear as objects with:\n- kind: \"data\"\n- data: { artifactId, toolCallId, name, description, type, artifactSummary }\n\nThese artifacts become immediately available for you to reference using the artifactId and toolCallId from the response.\nPresent delegation results naturally without mentioning the delegation process itself.\n\nIMPORTANT: All sub-agents can retrieve and use information from existing artifacts when the agent has artifact components, regardless of whether the individual agent or sub-agents can create new artifacts.";

//#endregion
export { artifact_retrieval_guidance_default as default };