# parse_agent_response

The `parse_agent_response` function parses the XML string returned by `send_agent_query` into a more usable form.

## Syntax

    parse_agent_response( agentsString )

## Arguments

Argument | Description
--- | ---
`agentsString` | (string) An XML string containing an IDOL response about agent matches.

## Returns

A list of descriptions of agents. Each description is table containing key-value pairs describing the agent.

The keys in the agent description are `"RESULTWEIGHT"`, `"RESULTLINKS"`, `"AGENTNAME"`, `"AGENTTRAINING"`, `"USERNAME"` and `"EMAILADDRESS"`.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm