RunAgent and ToolsRunMacro are two function used for accessing the agent.
Three ways to call agent on web 1. we can use @command([toolsrunmacro]) in form event webqueryopen & webquerysave2. we can use @command([runagent]) 3. Url Command http://servername/databasename.nsf/agentname?openagent