Knowledge base performance optimization Passing Tool Call History Automatic Document Tagging Integrating AgentScope PreviousAgent service overviewNext