Delete a tool

The format of the <method> element when deleting a tool is:

<method methodName="tool.deleteTool">

Use this method to delete an existing tool. The <method> element contains one or more <tool:tool> elements each of which identifies a tool to delete. In the <tool:tool> element include only the name attribute.

Example

The following example deletes the tools named sqlSample1, sqlSample2, cgiSample, cmdSample, scriptSample, and scriptSample2.

<methodCall xmlns:tool="http://www.ibm.com/tivoli/netcool/webtop/tools/2.1">

	<!-- Delete tools if they exist. -->
	<method methodName="tool.deleteTool">
			<tool:tool name="sqlSample1"/>
			<tool:tool name="sqlSample2"/>
			<tool:tool name="cgiSample"/>
			<tool:tool name="cmdSample"/>
			<tool:tool name="scriptSample"/>
			<tool:tool name="scriptSample2"/>
	</method>
</methodCall>